app/controllers/curupira/sessions_controller.rb in curupira-0.1.4 vs app/controllers/curupira/sessions_controller.rb in curupira-0.1.6
- old
+ new
@@ -1,6 +1,6 @@
class Curupira::SessionsController < ActionController::Base
- before_filter :redirect_to_root_with_errors, if: :current_user, except: :destroy
+ before_action :redirect_to_root_with_errors, if: :current_user, except: :destroy
def new
@user = User.new
end