Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

provide correct example of `datetime_select` helper [ci skip]
  • Loading branch information...
commit c5b446cfde0c3c110ab5a8d9752f47397df48a5a 1 parent 5390187
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/date_helper.rb
View
2  actionpack/lib/action_view/helpers/date_helper.rb
@@ -1074,7 +1074,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 %>
#
Please sign in to comment.
Something went wrong with that request. Please try again.