lib/helpers/links.rb
#
# returns the special href for debugging formats (plain=true)
#
returns the special href for debugging formats (plain=true)
returns the special href for debugging formats ( plain = true )
def as_x_href (format)
      r = "#{request.scheme}://#{request.host}:#{request.port}"
      r << "#{request.script_name}#{request.path_info}.#{format}?plain=true"
      r << "&#{request.query_string}" if request.query_string.length > 0
      r
    end
def as_x_href ( format ) r = "#{request.scheme}://#{request.host}:#{request.port}" r << "#{request.script_name}#{request.path_info}.#{format}?plain=true" r << "&#{request.query_string}" if request . query_string . length > 0 r end
returns the special href for debugging formats (plain=true)
returns the special href for debugging formats ( plain = true )
#href = here #href += href.index('?') ? '&' : '?' #href + "format=#{format}&plain=true"
format
<not_specific>