These are chat archives for quorrajs/quorrajs

Jul 2016
Jul 03 2016 11:37
@harishanchu what is the purpose of name on controller route???
in laravel name a route is so awesome as i can use urlTo(<name>) in my views
var URL = App.url;
$url = URL.action('FooController@method');
you mention i can do this but is same apply for name also?
Jul 03 2016 17:20
@maqboolkhan The same applies for Quorra as well. If you name a controller route, you can get its url with method URL.route(<name>). If you want url by controller action you can use URL.action('FooController@method')
I didn't add a global helper method urlTo to Quorra, like laravel do, which I am considering and will be adding in later version.