In laravel 5.2 I want to route all the undefined url to one particular controller.
I am developing CMS like functionality, in which I want this thing.
Route::get('profile', 'Controller@profile');
Route::get('{any}', 'Controller@page');
so url like
www.domain.com/post/po-t/some/thing
www.domain.com/profile
so first url should redirect to page function and second url to profile function
Basically I want some idea for N-number or parameters, as in page it can be any number of parameters like "www.domain.com/post/po-t/some/thing"