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

Try this: public function login_article($id){ if(user checks out){ return Redirect::route('view_article',array('id'=>$id)); } }

Last updated 2 years ago.
0

Nope that doesn't help. Now I've heard buzz about "controller to controller" actions not being a good way to handle things, I wonder if this is the issue. I've been thrown this exception when I have a GET route and my form (by default) is POST, so I have to explicitly make the form use GET. In this case, where the form is POST, going to a POST route, and then redirecting to a GET route, is there something I need to do to make that second request GET? Here's the big question: Are there two requests? What's my name? Where am I?? .. lol.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Meowts meowts Joined 10 Jun 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.