diff options
Diffstat (limited to 'app/helpers/routing_helper.rb')
-rw-r--r-- | app/helpers/routing_helper.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/helpers/routing_helper.rb b/app/helpers/routing_helper.rb new file mode 100644 index 000000000..655e6bc26 --- /dev/null +++ b/app/helpers/routing_helper.rb @@ -0,0 +1,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 |