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:
parent
50c98942a5
commit
ee384b8981
@ -121,7 +121,6 @@ def mysql_socket_location
|
||||
app/models
|
||||
app/views/layouts
|
||||
config/environments
|
||||
components
|
||||
db
|
||||
doc
|
||||
lib
|
||||
|
@ -30,6 +30,10 @@ def to_date_select_tag(options = {})
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user