mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixing more spacing inconsistencies
This commit is contained in:
parent
e8afe4e1ea
commit
f274394afb
2 changed files with 3 additions and 3 deletions
|
@ -466,7 +466,7 @@ module ActionView
|
|||
#
|
||||
# # 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
|
||||
|
|
|
@ -555,10 +555,10 @@ module ActionView
|
|||
# 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')
|
||||
|
|
Loading…
Reference in a new issue