Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #7 from takiy33/patch-1
Browse files Browse the repository at this point in the history
Use before_action instead of before_filter
  • Loading branch information
shrkw committed Jun 28, 2015
2 parents 0da72dd + 32c5e33 commit 895e730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/user_import_controller.rb
Expand Up @@ -3,7 +3,7 @@
class UserImportController < ApplicationController
unloadable

before_filter :require_admin
before_action :require_admin

USER_ATTRS = [:login, :password, :lastname, :firstname, :mail, :admin]

Expand Down

0 comments on commit 895e730

Please sign in to comment.