diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 47230f2..3490846 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -6,7 +6,7 @@ class ApplicationController < ActionController::Base # Do not mention passwords in the log file # filter_parameter_logging :password - before_filter :get_current_users_screenshots + before_action :get_current_users_screenshots # Query for packages that were uploaded by the current user. # As AAA is not yet implemented it means looking for uploads diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 196391e..be17fbd 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,6 +1,6 @@ class UsersController < ApplicationController - before_filter :require_user, :only => [:show, :edit, :update] + before_action :require_user, :only => [:show, :edit, :update] def new @user = User.new