I defined a Route
for grouping controller routes and after using this URL
:
http://localhost/alachiq/public/admin/profile
it can show profile view. but if user entered:
http://localhost/alachiq/public/admin/profile/
that redirects to http://localhost/admin/profile
and I get this error:
Not Found
The requested URL /admin/profile was not found on this server.
Apache/2.4.6 (Debian) Server at localhost Port 80
how to use a wildcard in controller?
my Route:
Route::group(array('prefix'=> 'admin' ,'before'=>'auth'), function(){
Route::controller('profile', 'ProfileController',array('getIndex'=>'profile.index', 'postUpdate'=>'profile.update'));
});