On Viernes, 6 de Agosto de 2010 08:34:56 Sergio Cambra .:: entreCables S.L. 
::. escribió:
> 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]

If it works (I haven't tried it) it would be great you add this tip to Tips 
section in wiki:
http://wiki.github.com/activescaffold/active_scaffold/tips

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

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

Reply via email to