Sha256: e096b8049ae88d6b2ba106b734db2823cdbc94fe94e6e141a344a9c0b3dbbbed
Contents?: true
Size: 604 Bytes
Versions: 18
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true require "singleton" module MuchRails; end # MuchRails::RailsRoutes is a Singleton object that provides Rails' URL helpers # and path/URL generation. class MuchRails::RailsRoutes include Singleton include ::Rails.application.routes.url_helpers # These methods support stubbing #method_missing in tests but have no real # effect or behavior. def method_missing(name, *args, &block) super end def respond_to_missing?(*args) super end private def default_url_options ::Rails.application.config.action_mailer.default_url_options end end
Version data entries
18 entries across 18 versions & 1 rubygems