php - Laravel 4 NotFoundHttpException controller routing why? -
I am trying to do a link work in Larval 4, the link is:
< Code> & lt; A href = "innovate" & gt; Nevev Tak & lt; / A & gt;
This link will be the result of
LARWAL / TUDUO / PUBLIC / NAVUTEC
My routing is:
Root :: find ('netwatch', 'showwhite @ navewecok controller');
My Controller:
Class NieuweProductController Expands BaseController {Public Function ShowView () {Return View :: Create ('New Task'); }
}
But somehow when I click on the link it gives a NotFoundHTTP exception
your class is NieuweProductController
, while your root says NieuweTaakController
I think That you should correct it (or change the name of the class):
Root :: find ('newtech', 'newviewprint controller @viewview');
BTW, the name of the controller goes after , this is className @ method
Comments
Post a Comment