Appartamento in Affitto Milano – Washington

How to use restful_authentication for frontend?

Added by Prem Kumar 289 days ago

I want to use restful_authentication for frontend,but unable to figure out how to do so.For example say QuizController is the only frontend controller that will be used for interaction with my site.I want all to use all features of restful_authentication plugin for this controller.Can I do it? If not then what should I do?


Replies

RE: How to use restful_authentication for frontend? - Added by Davide D'Agostino 276 days ago

restful_authentication is in bundle,

so in your views add

before_filter :frontend_login_required, :only => [:action1, action2]