diff options
Diffstat (limited to 'railties/lib/generators/rails/stylesheets/stylesheets_generator.rb')
-rw-r--r-- | railties/lib/generators/rails/stylesheets/stylesheets_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/stylesheets/stylesheets_generator.rb b/railties/lib/generators/rails/stylesheets/stylesheets_generator.rb index 256b9a208f..ce68443c39 100644 --- a/railties/lib/generators/rails/stylesheets/stylesheets_generator.rb +++ b/railties/lib/generators/rails/stylesheets/stylesheets_generator.rb @@ -2,7 +2,7 @@ module Rails module Generators class StylesheetsGenerator < Base def copy_stylesheets_file - copy_file "scaffold.css", "public/stylesheets/scaffold.css" + template "scaffold.css", "public/stylesheets/scaffold.css" if behavior == :invoke end end end |