Pregunta

I have a resource controller with all basic routes implemented

  • create
  • store
  • update
  • delete
  • index
  • show

But I need one more route like '/controllerName/otherRoute'... how do I create one?

¿Fue útil?

Solución

Just add that one extra additional route the same as you would any other.

Route::get('another-route', 'ControllerName@anotherRoute');
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top