summaryrefslogtreecommitdiffstats
path: root/app/controllers/enumerations_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/enumerations_controller.rb')
-rw-r--r--app/controllers/enumerations_controller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb
index feb360398..905c67dda 100644
--- a/app/controllers/enumerations_controller.rb
+++ b/app/controllers/enumerations_controller.rb
@@ -18,10 +18,10 @@
class EnumerationsController < ApplicationController
layout 'admin'
- before_filter :require_admin, :except => :index
- before_filter :require_admin_or_api_request, :only => :index
- before_filter :build_new_enumeration, :only => [:new, :create]
- before_filter :find_enumeration, :only => [:edit, :update, :destroy]
+ before_action :require_admin, :except => :index
+ before_action :require_admin_or_api_request, :only => :index
+ before_action :build_new_enumeration, :only => [:new, :create]
+ before_action :find_enumeration, :only => [:edit, :update, :destroy]
accept_api_auth :index
helper :custom_fields