X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4be0e9bd103292a22bd2ca7c8f2744f33c4457d3..c3b17aa506d6d7347f438de73de746d087cd0d19:/app/controllers/directions_controller.rb?ds=sidebyside diff --git a/app/controllers/directions_controller.rb b/app/controllers/directions_controller.rb index d153f0320..ec2327400 100644 --- a/app/controllers/directions_controller.rb +++ b/app/controllers/directions_controller.rb @@ -1,7 +1,8 @@ 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] + authorize_resource :class => false def search render :layout => map_layout