The Rails app I am working on has the following layout:
app:
controller:
account_controller.rb
admin:
account_controller.rb
Where the first account controller is of class AccountController <
ApplicationController
The second account controller is the one using Active Scaffold. it is
of class Admin::AccountController < ApplicationController
Adding the following action link causes an incorrect controller to be
specified in the URL
config.action_links.add 'reload',
:action => "reload",
:type => :record,
:label => 'Reload',
:method => :post
/admin/admin/reload?id....
where it should be
/admin/account/reload?id
Any ideas on how to fix this? Explicitly specifying the controller
doesn't help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---