over 5 years ago
There are n number of situation where we want to pass parameter in URL and use that parameter in our controller.That can be easily explain by using example:
There are few steps which I have implemented that are:
Step 1:First we will define our routest in
routes.php
Route::get('sendMeetingReminder/{userRole}/{meetingDetail}','MeetingController@sendMeetingReminder');
Here we can see that we have pass parameter in route url.
Step 2:Now we have get that parameter by using sendMeetingReminder function
public function sendMeetingReminder($userRole,$entryId){ }
In the above code we have get userRole and entryId .
By this way we can pass as parameters to the Url class.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)