Permalink
Browse files

provide correct example of `datetime_select` helper [ci skip]

  • Loading branch information...
1 parent 81066b1 commit e9bfeb0c7987b3e39718959615b898e0dca4486b @kuldeepaggarwal kuldeepaggarwal committed Jan 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/date_helper.rb
@@ -1066,7 +1066,7 @@ def time_select(method, options = {}, html_options = {})
# Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:
#
# <%= form_for @person do |f| %>
- # <%= f.time_select :last_request_at %>
+ # <%= f.datetime_select :last_request_at %>
# <%= f.submit %>
# <% end %>
#

0 comments on commit e9bfeb0

Please sign in to comment.