Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unused private methods

  • Loading branch information...
commit 22cbc1a14da1562797c0b3388805034fb9fc1b7f 1 parent 41c3d4a
@lest lest authored
Showing with 0 additions and 16 deletions.
  1. +0 −16 actionpack/lib/action_view/helpers/url_helper.rb
View
16 actionpack/lib/action_view/helpers/url_helper.rb
@@ -643,22 +643,6 @@ def add_method_to_attributes!(html_options, method)
html_options["data-method"] = method
end
- def options_for_javascript(options)
- if options.empty?
- '{}'
- else
- "{#{options.keys.map { |k| "#{k}:#{options[k]}" }.sort.join(', ')}}"
- end
- end
-
- def array_or_string_for_javascript(option)
- if option.kind_of?(Array)
- "['#{option.join('\',\'')}']"
- elsif !option.nil?
- "'#{option}'"
- end
- end
-
# Processes the +html_options+ hash, converting the boolean
# attributes from true/false form into the form required by
# HTML/XHTML. (An attribute is considered to be boolean if
Please sign in to comment.
Something went wrong with that request. Please try again.