search for: require_admin_login

Displaying 1 result from an estimated 1 matches for "require_admin_login".

2007 Oct 24
4
before_filter at the method level
I have used before_filter in the passed at the class level but can it be used in the method level. For example, I want to refuse a non-admin type from being able to delete anything in the entire application. Is there an easy way to do this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the