[Rails] Controller namespace problem?

Jean-François jf.web3 at gmail.com
Tue Jul 25 22:14:51 GMT 2006


Hello Erik,
> I'm not getting any love grouping controllers into separate
> namespaces and I'm hoping someone can tell me what
> I'm not getting:
>
> $ rails foo
> $ cd foo
> $ script/generate controller Namespace::Bar index
> $ script/server
>
> $ lynx http://localhost:3000/namespace/bar
> -> 404
> -> Routing Error
> -> Recognition failed for "/namespace/bar"

Can you show us what does your config/routes.rb look
like ?

   -- Jean-François.

-- 
À la renverse.


More information about the Rails mailing list