All that this does is exclude the delete function. If you want to change the functionality of the delete all you have to do is override the destroy method in your controller.
On Tue, May 5, 2009 at 3:12 PM, JannaB <[email protected]> wrote: > > Answering my own q here in case someone searches on these issues here > in the future (this is really easier than I thought): In my > controller: > > active_scaffold :<my model> do |config| > config.actions.exclude :delete > config.actions.swap :search, :live_search > end > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
