Support the ongoing development of Laravel.io →
Requests Forms
Last updated 2 years ago.
0

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

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

tux-world tux-world Joined 7 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.