I've had this issue before,
Try using ::resource() instead.
::controller() is too ambiguous. Check out some explanation here.
So, for example:
Route::group(array('prefix' => 'admin'), function () {
Route::any('dash/catagory', array(
'uses' => "DashController@showIndex",
'as' => 'dash.index'
))->before('auth');
Route::resource('dash', 'DashController');
});
It's useful because it only creates the routes that you need. Reference the docs for explanation here
Let me know if this helps
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community