I am trying to use this:
http://wiki.github.com/activescaffold/active_scaffold/security
to restrict the delete action. The conditions for this will be the
same across *all* controllers. So, I thought that it would be logical
to place the "delete_authorized?" method in the
ApplicationController. But when I do that, nothing happens. When I
place it in the individual controller, I get what I should... it
filters the delete action.
The function that I am using is defined thus (to keep it simple, for
testing purposes):
def delete_authorized?
false
end
Any help would be great!
Thanks,
Mikelb
--
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.