diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 12:22:26 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-02-04 12:22:26 -0800 |
commit | 127e53453dc52e07aff877212e204084f7321529 (patch) | |
tree | 4d155d097d731843cac7739e5b54818cd7a24815 /railties/lib/generators | |
parent | 203626867934a2772a5a3f096521b56d59273407 (diff) | |
download | rails-127e53453dc52e07aff877212e204084f7321529.tar.gz rails-127e53453dc52e07aff877212e204084f7321529.tar.bz2 rails-127e53453dc52e07aff877212e204084f7321529.zip |
Ensure javascripts are pulled in so UJS can hook the Delete link
Diffstat (limited to 'railties/lib/generators')
-rw-r--r-- | railties/lib/generators/erb/scaffold/templates/layout.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/generators/erb/scaffold/templates/layout.html.erb b/railties/lib/generators/erb/scaffold/templates/layout.html.erb index 7aa049fe80..496de90ebb 100644 --- a/railties/lib/generators/erb/scaffold/templates/layout.html.erb +++ b/railties/lib/generators/erb/scaffold/templates/layout.html.erb @@ -3,6 +3,7 @@ <head> <title><%= controller_class_name %>: <%%= controller.action_name %></title> <%%= stylesheet_link_tag 'scaffold' %> + <%%= javascript_include_tag :defaults %> </head> <body> |