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

11 lines
200 B
Ruby
Raw Normal View History

2015-10-01 02:30:53 +00:00
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