Posts by Ronaldo Henrique • 41 points
2 posts
-
0
votes2
answers371
viewsA: "Controller method not found." in a method that exists
You could declare the route this way: Route::controller('purchases', 'PurchasesController'); and in your controller you put the filters in the constructor method. public function __construct() {…
laravelanswered Ronaldo Henrique 41 -
4
votes3
answers5697
viewsA: Download images
For security reasons, the browser does not allow to save images/files directly to the user’s machine, what can be done is to load the image on the page and request the user to save the image…