Defining Routes

It wouldn't be feasible to keep our route definitions inside the Kernel class because that would be part of the framework, i.e. a vendor file.


Each individual application that uses the framework would have to define it's own routes....somewhere. So in this one, we're going to move our route definitions into their own dedicated file, which is how other frameworks handle this.

Complete and Continue  
Discussion

15 comments