Support the ongoing development of →
Authentication Forms
Last updated 1 year ago.

Are you using Resource controllers? Resource controllers default methods are registered as named routes automatically (index, show, edit etc.) which is why they are available through Redirect::route('controller.method'), custom methods names must be registered by the developer, resource controllers do not automatically register custom methods. The documentation covers named routes:

If I've misinterpreted your question can you provide more information, specifically the contents of your routes file.

Last updated 1 year ago.

Yes! That was exactly what I was looking for! Adding the following route solved it:

Route::post('/signin', array('as' => 'user.signin', 'uses' => 'UserController@signin'));

Thanks citricsquid!

Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

Denuro denuro Joined 30 May 2014


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

Your logo here?

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

© 2024 - All rights reserved.