Router context for rails to ease generation of routes outside of controllers.