X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..33790824d6b32d103e0dc69bf6877373266744fe:/app/controllers/directions_controller.rb?ds=sidebyside diff --git a/app/controllers/directions_controller.rb b/app/controllers/directions_controller.rb index d153f0320..b04db6b6f 100644 --- a/app/controllers/directions_controller.rb +++ b/app/controllers/directions_controller.rb @@ -1,7 +1,7 @@ class DirectionsController < ApplicationController - before_filter :authorize_web - before_filter :set_locale - before_filter :require_oauth, :only => [:search] + before_action :authorize_web + before_action :set_locale + before_action :require_oauth, :only => [:search] def search render :layout => map_layout