Re: website structure concept

releod
Fri, 01 Sep 2006 16:40:17 -0000

Tim Perrett wrote:
> 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/.

okay thanks for the example, but what would your url look like?

sorry - im still getting through the learning curve hah!