Sha256: 5851aa4aaf08f74a65375b745c14d10e6547b02242541a29009016c3cef9e364

Contents?: true

Size: 198 Bytes

Versions: 5

Compression:

Stored size: 198 Bytes

Contents

module Rtml::Controller::UrlHelpers
  def url_for(options = {})
    options ||= {}
    if options.kind_of?(Hash)
      options.reverse_merge! :only_path => true
    end
    super(options)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rtml-2.0.4 lib/rtml/controller/url_helpers.rb
rtml-2.0.3 lib/rtml/controller/url_helpers.rb
rtml-2.0.2 lib/rtml/controller/url_helpers.rb
rtml-2.0.1 lib/rtml/controller/url_helpers.rb
rtml-2.0.0.alpha.1 lib/rtml/controller/url_helpers.rb