]> git.openstreetmap.org Git - rails.git/blob - app/controllers/directions_controller.rb
Replace deprecated ActiveModel::Errors get/set methods
[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
6   def search
7     render :layout => map_layout
8   end
9 end