mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Missed commit from [5686].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -121,7 +121,6 @@ class AppGenerator < Rails::Generator::Base
|
||||
app/models
|
||||
app/views/layouts
|
||||
config/environments
|
||||
components
|
||||
db
|
||||
doc
|
||||
lib
|
||||
|
||||
@@ -30,6 +30,10 @@ class ActionView::Helpers::InstanceTag
|
||||
def to_datetime_select_tag(options = {})
|
||||
"<%= datetime_select '#{@object_name}', '#{@method_name}' #{options.empty? ? '' : ', '+ options.inspect} %>"
|
||||
end
|
||||
|
||||
def to_time_select_tag(options = {})
|
||||
"<%= time_select '#{@object_name}', '#{@method_name}' #{options.empty? ? '' : ', '+ options.inspect} %>"
|
||||
end
|
||||
end
|
||||
|
||||
class ScaffoldGenerator < Rails::Generator::NamedBase
|
||||
|
||||
Reference in New Issue
Block a user