Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing more spacing inconsistencies

  • Loading branch information...
commit f274394afbedd2097d5855f8c2d7d384b46977c3 1 parent e8afe4e
@mrduncan mrduncan authored
View
2  actionpack/lib/action_view/helpers/date_helper.rb
@@ -466,7 +466,7 @@ def select_minute(datetime, options = {}, html_options = {})
#
# # Generates a select field for hours with a custom prompt. Use :prompt => true for a
# # generic prompt.
- # select_hour(13, :prompt =>'Choose hour')
+ # select_hour(13, :prompt => 'Choose hour')
#
def select_hour(datetime, options = {}, html_options = {})
DateTimeSelector.new(datetime, options, html_options).select_hour
View
4 actionpack/lib/action_view/helpers/url_helper.rb
@@ -555,10 +555,10 @@ def mail_to(email_address, name = nil, html_options = {})
# current_page?(:controller => 'shop', :action => 'checkout')
# # => true
#
- # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page=>'1')
+ # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page => '1')
# # => true
#
- # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page=>'2')
+ # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page => '2')
# # => false
#
# current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc')
Please sign in to comment.
Something went wrong with that request. Please try again.