X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2b252e8337109de714bb8aa38ccf6d46e7686e42..f2bf38606e281290fee8273e247afc54f08a0a47:/app/controllers/directions_controller.rb diff --git a/app/controllers/directions_controller.rb b/app/controllers/directions_controller.rb new file mode 100644 index 000000000..d153f0320 --- /dev/null +++ b/app/controllers/directions_controller.rb @@ -0,0 +1,9 @@ +class DirectionsController < ApplicationController + before_filter :authorize_web + before_filter :set_locale + before_filter :require_oauth, :only => [:search] + + def search + render :layout => map_layout + end +end