Closed katanacrimson closed 9 years ago
As on tin. I'd expect that a router should be able to handle a "/" route, just for convenience's sake.
At the very least, I'll try to abuse .defer for now to get things working.
You can do this:
router.get '/' .to 'Main.index' .as 'home'
Example:
Does that work for you?
P.S. You can play around with barista here: http://kieran.github.io/barista/
As on tin. I'd expect that a router should be able to handle a "/" route, just for convenience's sake.
At the very least, I'll try to abuse .defer for now to get things working.