Try this:
Route::get('admin/companies', array('as' => 'admin.companies', 'uses' => 'AdminController@companies'));
Route::get('ac', array('as' => 'admin.companies', 'uses' => 'AdminController@companies'));
Route::get('/ac', function(){
return Redirect::route('admin.companies');
});
Route::get('admin/companies', array('as' => 'admin.companies', 'uses' => 'AdminController@companies'));
I denied myself that it where to simple...
thank you guys
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community