openstreetmap-website/app/controllers/directions_controller.rb
2015-02-26 00:12:54 +00:00

9 lines
218 B
Ruby

class DirectionsController < ApplicationController
before_action :authorize_web
before_action :set_locale
before_action :require_oauth, :only => [:search]
def search
render :layout => map_layout
end
end