Permalink
Browse files

show correct helper in description

  • Loading branch information...
1 parent 044aa0a commit 2f5a15e3e897a5cb924549338f25b67e20b907c0 @raybaxter raybaxter committed with fxn Jul 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/date_helper.rb
@@ -440,7 +440,7 @@ def select_time(datetime = Time.current, options = {}, html_options = {})
#
# # Generates a select field for seconds with a custom prompt. Use <tt>:prompt => true</tt> for a
# # generic prompt.
- # select_minute(14, :prompt => 'Choose seconds')
+ # select_second(14, :prompt => 'Choose seconds')
#
def select_second(datetime, options = {}, html_options = {})
DateTimeSelector.new(datetime, options, html_options).select_second

0 comments on commit 2f5a15e

Please sign in to comment.