diff options
author | Pirogov Evgenij <iamexile@gmail.com> | 2011-05-14 15:40:32 -0700 |
---|---|---|
committer | Pirogov Evgenij <iamexile@gmail.com> | 2011-05-14 15:40:32 -0700 |
commit | 4b10585128fcaf3270ece6829c3511fbbba529ac (patch) | |
tree | f91d42d844a11c9d47ecd826cd71e1ca00860b19 /actionpack/lib/action_view/helpers | |
parent | d49113023676fbf0b6653730f5bde759990caede (diff) | |
download | rails-4b10585128fcaf3270ece6829c3511fbbba529ac.tar.gz rails-4b10585128fcaf3270ece6829c3511fbbba529ac.tar.bz2 rails-4b10585128fcaf3270ece6829c3511fbbba529ac.zip |
Clean up redundant backslashes
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/date_helper.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 853ab061d2..c78c03a5eb 100644 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -841,14 +841,14 @@ module ActionView # Build select option html from date value and options. # build_options(15, :start => 1, :end => 31) # => "<option value="1">1</option> - # <option value=\"2\">2</option> - # <option value=\"3\">3</option>..." + # <option value="2">2</option> + # <option value="3">3</option>..." # # If <tt>:step</tt> options is passed # build_options(15, :start => 1, :end => 31, :step => 2) # => "<option value="1">1</option> - # <option value=\"3\">3</option> - # <option value=\"5\">5</option>..." + # <option value="3">3</option> + # <option value="5">5</option>..." def build_options(selected, options = {}) start = options.delete(:start) || 0 stop = options.delete(:end) || 59 |