]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/directions_controller.rb
Removes DOM difference in location button (main map)
[rails.git] / app / controllers / directions_controller.rb
index d153f03205bff148a98c0f9f30bd2eaa03d90fe0..b04db6b6f6aea919cb99fa84fdda5283efb9d37b 100644 (file)
@@ -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