Re: website structure concept

Tim Perrett
Fri, 01 Sep 2006 14:16:48 -0000

just use a map with options e.g....

  # application routes
  map.with_options(:controller => ''application'') do |site|
    site.site_currency     ''system/currency'',
:action =>
''change_currency''
    site.site_login        ''system/login'',
:action =>
''login''
  end

You can see my path is nothing like that controller name...

hope that helps

Tim

--
Posted via http://www.ruby-forum.com/.