about summary refs log tree commit diff
path: root/app/helpers/routing_helper.rb
blob: 655e6bc264b55f276fcfce2a45c7c42b012ec22c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
module RoutingHelper
  extend ActiveSupport::Concern
  include Rails.application.routes.url_helpers
  include GrapeRouteHelpers::NamedRouteMatcher

  included do
    def default_url_options
      ActionMailer::Base.default_url_options
    end
  end
end