Re: Structuring a rails application

Fredrik
2007-04-30T18:50:05Z

You could try to namespace them instead of wrapping multiple
controllers in a module if that is an option.

script/generate controller admin/messages
script/generate controller admin/users

Fredrik

On Apr 30, 11:55 am, r3dcaps <redc...-hi6Y0CQ0nG0@public.gmane.org>
wrote:
> I try to structure my rails application with modules, but i have
> problems to define the routes. Is'' it possible to use someting
like
> this: <%= link to ''...'', :module => :module_name,
:controller
> => :ctrl_name [...] -%> ?
>
> The controllers i want to access are in app/controllers/module_name. I
> thougt i could define something like this: map.connect
> '':module/:controller/:action'', but it doesn''t
work.