I have several routes, and do not want to add another due to the difficulty in setting permissions, etc. I have a controller method, which isn't invoked on any route. Is there any way I can do this in my blade template?
My controller method is as follows:
public static function editROA(){
//do stuff
}
and in my blade template, I would like to refer this:
<a type='button' class='btn-warning' href="">Edit</a>
However, this throws an error, and says that there is no method named editROA. Is there any solution to this problem?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire