Skip to content
Browse files

Merge pull request #13590 from kuldeepaggarwal/fix-date-helper-doc

provide correct example of `datetime_select` helper [ci skip]
  • Loading branch information...
2 parents 3713e43 + e9bfeb0 commit 339ce7fe9d09c088cfc44e78d91b0a5dd220f9f1 @rafaelfranca rafaelfranca committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionview/lib/action_view/helpers/date_helper.rb
View
2 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 339ce7f

Please sign in to comment.
Something went wrong with that request. Please try again.