Is there a better way to do this in Laravel 4 without repeating this code?
Route: Receive ('site / {url}', 'search controller @ index'); Route: get ('test1 / {url}', 'search controller @ index'); Route: get ('test2 / {url}', 'search controller @ index');
i.e. What is the best practice to achieve this by pointing to multiple URLs in a single method with query string values?
Thank you in advance for your suggestions.
No comments:
Post a Comment