I have the following line in my application_controller:
before_filter :login_required, :only => [ :edit, :update, :show, :index ]
But in the case of: show, I need to put {: controller => 'users' ,: action => 'show'} in the exception. Can this be done?
ruby-on-rails
Arty
source share