Module: Rtml::Controller::UrlHelpers

Defined in:
lib/rtml/controller/url_helpers.rb

Instance Method Summary collapse

Instance Method Details

#url_for(options = {}) ⇒ Object



2
3
4
5
6
7
8
# File 'lib/rtml/controller/url_helpers.rb', line 2

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