diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-05 19:05:05 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2013-01-05 19:05:05 +0100 |
commit | f17a631d79e1f6c78d2f0fbcedddcf267ccf6b8a (patch) | |
tree | 7b0cda8b2b652806697ac4568ef9cd8473449d6e | |
parent | f2c0e57581eb513d19f7f7ab8268c1804870a85c (diff) | |
download | rails-f17a631d79e1f6c78d2f0fbcedddcf267ccf6b8a.tar.gz rails-f17a631d79e1f6c78d2f0fbcedddcf267ccf6b8a.tar.bz2 rails-f17a631d79e1f6c78d2f0fbcedddcf267ccf6b8a.zip |
Fix indention issue in generated template
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/index.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb index 7d707a22d6..805d71221f 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb @@ -3,9 +3,9 @@ <table> <thead> <tr> - <% attributes.each do |attribute| -%> +<% attributes.each do |attribute| -%> <th><%= attribute.human_name %></th> - <% end -%> +<% end -%> <th></th> <th></th> <th></th> |