Does ActiveScaffold not support this? I guess I have to write out the URL manually. What a kludge.
On Mar 4, 1:36 pm, browardjim <[email protected]> wrote: > I have routes like this: > > map.resources :servers, :active_scaffold => true, :member => > {:reverse_dns => :get} do |servers| > servers.resources :server_ips, :active_scaffold => true > end > > And I have links like this: > > active_scaffold 'Server' do |config| > config.action_links.add :server_ips, :label => 'IPs', :type > => :record, :inline => false, :crud_type => :read > config.action_links.add :reverse_dns, :label => 'RDNS', :type > => :record, :inline => false, :crud_type => :read > end > > Now the RDNS link works fine, generating an url like this: / > servers/:server_id/reverse_dns. > > But the IPs link doesn't work. It generates an url like /servers/ > server_ips/:server_id, where it should be /servers/:server_id/ > server_ips. > > How do I fix this? Thanks for the help. > > Cheers, > Jim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
