metamaps--metamaps/app/models/concerns/routing.rb
2016-09-24 11:00:46 +08:00

11 lines
230 B
Ruby

# frozen_string_literal: true
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