diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-03 20:12:08 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-11-03 20:48:40 +0100 |
commit | d0d30e767d7e9a61ec1d8b8d44894f0ab508b990 (patch) | |
tree | a870bd1a837954c5f74f387b28890f819ef1a994 /railties/lib/rails/generators/erb/scaffold/templates/new.html.erb | |
parent | cbe391b517f55caad8cbefa6f864289d76fab653 (diff) | |
download | rails-d0d30e767d7e9a61ec1d8b8d44894f0ab508b990.tar.gz rails-d0d30e767d7e9a61ec1d8b8d44894f0ab508b990.tar.bz2 rails-d0d30e767d7e9a61ec1d8b8d44894f0ab508b990.zip |
Fix scaffold generator to be aware of namespace in isolated engine
Diffstat (limited to 'railties/lib/rails/generators/erb/scaffold/templates/new.html.erb')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/new.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/new.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/new.html.erb index 02ae4d015e..fe4d0971c4 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/new.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/new.html.erb @@ -1,5 +1,7 @@ +<% without_namespacing do -%> <h1>New <%= singular_table_name %></h1> <%%= render 'form' %> <%%= link_to 'Back', <%= index_helper %>_path %> +<% end -%> |