Sha256: ee696b729bbd036031585eafd0cdde3e1cade76c33c2f0f8c8be1ff3c74095b9

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

module ActionDispatch
  module Routing
    class RouteSet

      def url_for_with_storytime(options, route_name = nil, url_strategy = UNKNOWN)
        Storytime::PostUrlHandler.handle_url(options)
        url_for_without_storytime(options, route_name, url_strategy)
      end

      alias_method_chain :url_for, :storytime

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
storytime-2.1.6 config/initializers/url_for_patch.rb
storytime-2.1.5 config/initializers/url_for_patch.rb
storytime-2.1.4 config/initializers/url_for_patch.rb
storytime-2.1.3 config/initializers/url_for_patch.rb
storytime-2.1.2 config/initializers/url_for_patch.rb