diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-13 18:21:52 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-13 18:21:52 +0200 |
commit | 48fb6b338061c80deda92fd935992cee86a3b368 (patch) | |
tree | 096f316b641029b2d1ae8683783c7b1a39831c71 | |
parent | 023d4f9fc12e9c7f18190ac4e3c4188004e56048 (diff) | |
download | rails-48fb6b338061c80deda92fd935992cee86a3b368.tar.gz rails-48fb6b338061c80deda92fd935992cee86a3b368.tar.bz2 rails-48fb6b338061c80deda92fd935992cee86a3b368.zip |
Generate scaffold.css to app/assets/stylesheets (next step, SCSSify it if SCSS is available)
-rw-r--r-- | railties/lib/rails/generators/rails/stylesheets/stylesheets_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/stylesheets/stylesheets_generator.rb b/railties/lib/rails/generators/rails/stylesheets/stylesheets_generator.rb index ce68443c39..12bd3920f8 100644 --- a/railties/lib/rails/generators/rails/stylesheets/stylesheets_generator.rb +++ b/railties/lib/rails/generators/rails/stylesheets/stylesheets_generator.rb @@ -2,7 +2,7 @@ module Rails module Generators class StylesheetsGenerator < Base def copy_stylesheets_file - template "scaffold.css", "public/stylesheets/scaffold.css" if behavior == :invoke + template "scaffold.css", "app/assets/stylesheets/scaffold.css" if behavior == :invoke end end end |