Pergunta

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?

Foi útil?

Solução

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

Route::get('another-route', 'ControllerName@anotherRoute');
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top