1

I'm trying to

Redirect::route('some_route');

I'm getting this error

throw new MethodNotAllowedHttpException($others);

Can anyone help me?

NorthCat
  • 9,643
  • 16
  • 47
  • 50
m2j
  • 1,152
  • 5
  • 18
  • 43
  • 1
    possible duplicate of [laravel throwing MethodNotAllowedHttpException](http://stackoverflow.com/questions/19760585/laravel-throwing-methodnotallowedhttpexception) – Limon Monte Mar 19 '15 at 09:10
  • I guess you are trying to redirect so some route that is not ```GET``` one. That's why you are getting the error. – Maksym Mar 19 '15 at 10:03

1 Answers1

1

Redirect::route() sends GET request. You must have POST or some method set as the handler. Please change the route to handle GET request and you will be fine.

Margus Pala
  • 8,433
  • 8
  • 42
  • 52