aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api')
-rw-r--r--app/controllers/api/v1/chouette_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/api/v1/chouette_controller.rb b/app/controllers/api/v1/chouette_controller.rb
index c9ba27eeb..7805074ee 100644
--- a/app/controllers/api/v1/chouette_controller.rb
+++ b/app/controllers/api/v1/chouette_controller.rb
@@ -4,9 +4,9 @@ module Api
inherit_resources
respond_to :json, :xml
layout false
- before_filter :authenticate
+ before_action :authenticate
-private
+ private
def authenticate
authenticate_or_request_with_http_token do |token, options|