Hi, try add the following:

match ':controller(/:action(/:id))'

> match 'home' => 'home#index'
> 
> namespace :payable do
> resources :account
> end
> 
> root :to => 'home#index'

On Jun 1, 2011, at 10:30 AM, Vinícius Rodrigues wrote:

> I did so:
> 
> match 'home' => 'home#index'
> 
> namespace :payable do
> resources :account
> end
> 
> root :to => 'home#index'
> 
> I can access the route home/index, but can not access the route 
> payable/accounts/index, he finds Payable::AccountsController but says he does 
> not find the :id => 'index'
> 
> Could someone explain me?
> Thanks!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-talk/-/QjJTNW90QWtYa3NK.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.


Cordialmente,


Fábio Rodriguez (Brajola)
Analista de Sistemas / Systems Analyst

[email protected]
[email protected]

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to