You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
activescaffold edited this page Sep 14, 2010
·
6 revisions
active_scaffold_config.action_links.each
That line iterates over action_links, which are created in lib/active_scaffold.rb, iterating over active_scaffold_config.actions.
So overriding config.actions in the controller you will get another order.
If you want another default order, use set_defaults in ApplicationController:
ActiveScaffold.set_defaults do |config|
config.actions = [:create, :list, :search, :show, :update, :delete, :nested, :subform]
end