On Viernes, 11 de Diciembre de 2009 01:13:01 simonS escribió: > I've defined a custom action at the table level. > > config.action_links.add 'my_action', :label => "My Action > Label", :type => :table, :confirm => "Are You Sure?", :crud_type > => :update, :method => :update, :inline => true > > I then implement a method > > def my_action > ... stuff > end > > When the action completes i can put a my_action.html.erb in the view/ > activescaffold_overrides folder. > > However this template seems to automatically include all the page > header stuff from application.html.erb. I dont find anyting in the > Wiki to defie what one puts in here to just get what one needs. > > Any help greatly appreciated.
It will render what you put in your "stuff". Try adding :layout => !request.xhr? to your render call for example. I can't help you more without your action code. > > -- > > 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. -- 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.
