diff --git a/app/controller/redactor_rails/documents_controller.rb b/app/controller/redactor_rails/documents_controller.rb index 6419cc47..b0e8f517 100644 --- a/app/controller/redactor_rails/documents_controller.rb +++ b/app/controller/redactor_rails/documents_controller.rb @@ -1,5 +1,5 @@ class RedactorRails::DocumentsController < ApplicationController - before_filter :redactor_authenticate_user! + before_action :redactor_authenticate_user! def index @documents = RedactorRails.document_model.where( diff --git a/app/controller/redactor_rails/pictures_controller.rb b/app/controller/redactor_rails/pictures_controller.rb index 46103ba2..c447adb7 100644 --- a/app/controller/redactor_rails/pictures_controller.rb +++ b/app/controller/redactor_rails/pictures_controller.rb @@ -1,5 +1,5 @@ class RedactorRails::PicturesController < ApplicationController - before_filter :redactor_authenticate_user! + before_action :redactor_authenticate_user! def index @pictures = RedactorRails.picture_model.where(