diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 23:47:35 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 23:47:35 +0000 |
commit | 778a9ec84f725ba5c346d975649770f9ebe23446 (patch) | |
tree | 67de215e88a79c72056b0927ffcffabf69dd49a6 /railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml | |
parent | 2c918ed9b5fba4802654a4e9792519391fd687d6 (diff) | |
download | rails-778a9ec84f725ba5c346d975649770f9ebe23446.tar.gz rails-778a9ec84f725ba5c346d975649770f9ebe23446.tar.bz2 rails-778a9ec84f725ba5c346d975649770f9ebe23446.zip |
Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml')
-rw-r--r-- | railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml b/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml index c4815bd0a3..4fb704219a 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/layout.rhtml @@ -1,7 +1,7 @@ <html> <head> <title><%= controller_class_name %>: <%%= controller.action_name %></title> - <link href="/stylesheets/scaffold.css" rel="stylesheet" type="text/css" /> + <%%= stylesheet_link_tag 'scaffold' %> </head> <body> |