]> git.openstreetmap.org Git - rails.git/blob - app/controllers/directions_controller.rb
Use correct link for users with no location
[rails.git] / app / controllers / directions_controller.rb
1 class DirectionsController < ApplicationController
2   before_action :authorize_web
3   before_action :set_locale
4   before_action :require_oauth, :only => [:search]
5   authorize_resource :class => false
6
7   def search
8     render :layout => map_layout
9   end
10 end