CodeIgniter Forums

Full Version: 'if' method for routes service
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm thinking of adding an 'if' method to the RoutesCollection class.

It would work like this:

     // blah...


Or restrict routes to logged in users(Myth:Auth)



A good idea?
You can use filters for this