before_filter -> before_yction

This commit is contained in:
Christoph Haas 2017-04-06 12:53:45 +02:00
parent ed733a651f
commit 0c080386ef
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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