]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/directions_controller.rb
Test the versions and capabilities api in various statuses
[rails.git] / app / controllers / directions_controller.rb
index b04db6b6f6aea919cb99fa84fdda5283efb9d37b..ec23274006b8062d30bc84dda00752d4d9cfd54f 100644 (file)
@@ -2,6 +2,7 @@ class DirectionsController < ApplicationController
   before_action :authorize_web
   before_action :set_locale
   before_action :require_oauth, :only => [:search]
+  authorize_resource :class => false
 
   def search
     render :layout => map_layout