just override the method in your contoller
def update
#do whatever you want to do
#if you want to go back to the active scaffold fucntionality you can
if i_want_to_override?
#then override
else
super
end
end
~kenny
On Mon, Jul 13, 2009 at 9:33 AM, JannaB <[email protected]> wrote:
>
> In one of my controllers that implements AS, want to override the
> method:
>
> def update
> do_update
> respond_to_action(:update)
> end
>
> that is in:
>
> \vendor\plugins\active_scaffold\lib\active_scaffold\actions\update.rb
>
> How do I do this? -Janna B
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---