metamaps--metamaps/app/models/concerns/routing.rb

11 lines
200 B
Ruby
Raw Permalink Normal View History

module Routing
extend ActiveSupport::Concern
include Rails.application.routes.url_helpers
included do
def default_url_options
ActionMailer::Base.default_url_options
end
end
end