Guyz, I am having a question for you.. Scenario is i am using before_filter in controller ABC to check that wheather user is administrator or not .. and if not then it can show user only one page to user .. did it like this.. before_filter :authorize_admin, :except => :def
Now i want a condition that if the user is not admin but if he is a tailor then he can see two pages as well def and xyz .. Hope you people got it right.. How can i came out from this dillema .. :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

