Path: | lib/generators/templates/thin/lib/%base_name%.rb |
Last Update: | Sun Mar 01 20:41:40 -0700 2009 |
Setup routes inside the host application
@param scope<Merb::Router::Behaviour>
Routes will be added within this scope (namespace). In fact, any router behaviour is a valid namespace, so you can attach routes at any level of your router setup.
@note prefix your named routes with :<%= symbol_name %>_
to avoid potential conflicts with global named routes.