]> git.openstreetmap.org Git - rails.git/blob - app/controllers/directions_controller.rb
Make a generic preferred color scheme method
[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