I need to override all the new
actions of several models in AA. Currently I am overriding the models one by one, so I have a lot of duplicated code.
How can I edit all the new actions in one shot?
Just to give some background, I'm doing this in each AA resource file:
controller do
def new
# things
end
end