On Jueves, 2 de Julio de 2009 20:06:00 JannaB escribió: > ahh,,,,I found it inthe wiki: > > config.actions.exclude :nested
That removes all nested scaffolds. You can remove links in one column with: config.columns[:column_name].clear_link Or remove the create new link in a column with: config.columns[:column_name].actions_for_association_links = [:show, :edit] Or remove create new link for all columns with: ActiveScaffold::DataStructures::Column.actions_for_association_links = [:show, :edit] in your ApplicationController > -Janna > > On Jul 2, 1:14 pm, JannaB <[email protected]> wrote: > > how can I disable hyperlinks in list view? > > > > Additinally, on some hyperlinks (when the field is a *_id) how can I > > not permit it to show a hyperlink to "create new?" > > > > -Janna > > -- 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 -~----------~----~----~----~------~----~------~--~---
