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