aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-01-04 23:59:20 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-01-04 23:59:20 +0530
commite9bfeb0c7987b3e39718959615b898e0dca4486b (patch)
treef45a3b1e9a3a0dfb693c57c42e81de142e1bf591 /actionview
parent81066b115817a4c95c83a76553954317f737cd14 (diff)
downloadrails-e9bfeb0c7987b3e39718959615b898e0dca4486b.tar.gz
rails-e9bfeb0c7987b3e39718959615b898e0dca4486b.tar.bz2
rails-e9bfeb0c7987b3e39718959615b898e0dca4486b.zip
provide correct example of `datetime_select` helper [ci skip]
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb
index 7b838e260c..3d091c4a00 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -1066,7 +1066,7 @@ module ActionView
# 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 %>
#