Welcome Guest, Not a member yet? Register   Sign In

Quote:There are many methods in my controllers that have a specific param: $webinar_id
Most of the time it is the only parameter (but not always).

define different routes for the different conditions. so for example when webinar_id is not the only parameter -
then create a different route to pick up the other params.

otherwise you can check and validate anything you want in the controller constructor, and then redirect or whatever you need before the controller method is called.

Messages In This Thread
unlikely... - by Rashid - 12-29-2015, 10:11 AM
RE: unlikely... - by mwhitney - 12-29-2015, 10:30 AM
RE: unlikely... - by Rashid - 12-30-2015, 01:25 AM
RE: unlikely... - by mwhitney - 12-30-2015, 09:14 AM
RE: unlikely... - by cartalot - 12-30-2015, 06:56 PM
RE: unlikely... - by Martin7483 - 12-31-2015, 03:49 AM

Theme © iAndrew 2016 - Forum software by © MyBB