app/controllers/curupira/authorized_controller.rb in curupira-0.1.4 vs app/controllers/curupira/authorized_controller.rb in curupira-0.1.6

- old
+ new

@@ -1,6 +1,6 @@ class Curupira::AuthorizedController < ApplicationController - before_filter :require_login + before_action :require_login private def not_authenticated redirect_to new_session_path, alert: "Por favor, se autentique primeiro"