kohactive/middleman-router

Need the ability to support root routes

johnkoht opened this issue · 0 comments

Currently, if you want to set up a homepage route, you need define it like this:

route :home, path: ""

I think that we can improve this by adding the ability to define the root route for the entire site. Perhaps something like:

route :home, root: true

or

root :home

Either of these should create a route called home_path that points to /.