Posts by Kaninchem • 107 points
4 posts
-
1
votes1
answer963
viewsQ: How to check route parameters in Laravel and accepted only specific parameters?
I would like to know how to create a function that validates the parameter received from a route on Laravel, for example, have a route: Route::get('fotos/{user_id}'); where you can only access users…
-
1
votes1
answer830
viewsQ: Change Content within a modal
How can I load a modal and this modal have a button that when clicking exchange the content for another page of this modal that is already open, and when closing back to the previous content. I’m…
-
6
votes1
answer1202
viewsQ: How can I differentiate authentications in the Standard? Example: Administrator and Common User without using multauth
How can I differentiate routes for the same auth? I have a User table and in it I have registered two types of user: admin and common user, both in the User table, with the same attributes. How can…
-
2
votes1
answer722
viewsQ: Laravel - How to call a different action from store,update, Edit?
I created a action without being the standard of resource, how can I call the same for an action on form as I call the update and store. <form method="POST" role="form"…