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

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: http://laravel.com/docs/routing#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.
0

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.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Denuro denuro Joined 30 May 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.