Lee Smith wrote:
> Are you talking about singular resources?
> 
> http://guides.rails.info/routing.html#singular-resources

I am not talking about singular resources.

> If not, you may want to show how you're declaring your route...

  map.resources :forex,
    :type         => 'CABK',
    :controller   => 'currency_exchange_rates',
    :only         => [:index, :show]

$ rake routes
...
forex_index GET    /forex(.:format) {:action=>"index",
                                     :controller=>"currency_exchange_rates"}

      forex GET    /forex/:id(.:format) {:action=>"show",
                                         :controller=>"currency_exchange_rates"}
...
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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