1
0
Fork 0
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:
Matt Duncan 2011-04-15 21:34:49 -04:00
parent e8afe4e1ea
commit f274394afb
2 changed files with 3 additions and 3 deletions

View file

@ -466,7 +466,7 @@ module ActionView
# #
# # Generates a select field for hours with a custom prompt. Use :prompt => true for a # # Generates a select field for hours with a custom prompt. Use :prompt => true for a
# # generic prompt. # # generic prompt.
# select_hour(13, :prompt =>'Choose hour') # select_hour(13, :prompt => 'Choose hour')
# #
def select_hour(datetime, options = {}, html_options = {}) def select_hour(datetime, options = {}, html_options = {})
DateTimeSelector.new(datetime, options, html_options).select_hour DateTimeSelector.new(datetime, options, html_options).select_hour

View file

@ -555,10 +555,10 @@ module ActionView
# current_page?(:controller => 'shop', :action => 'checkout') # current_page?(:controller => 'shop', :action => 'checkout')
# # => true # # => true
# #
# current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page=>'1') # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page => '1')
# # => true # # => true
# #
# current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page=>'2') # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc', :page => '2')
# # => false # # => false
# #
# current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc') # current_page?(:controller => 'shop', :action => 'checkout', :order => 'desc')