diff options
Diffstat (limited to 'railties/lib/generators/erb/scaffold/templates/layout.html.erb')
-rw-r--r-- | railties/lib/generators/erb/scaffold/templates/layout.html.erb | 2 |
1 files changed, 2 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..420d17f33c 100644 --- a/railties/lib/generators/erb/scaffold/templates/layout.html.erb +++ b/railties/lib/generators/erb/scaffold/templates/layout.html.erb @@ -3,6 +3,8 @@ <head> <title><%= controller_class_name %>: <%%= controller.action_name %></title> <%%= stylesheet_link_tag 'scaffold' %> + <%%= javascript_include_tag :defaults %> + <%%= csrf_meta_tag %> </head> <body> |