diff options
author | wycats <wycats@gmail.com> | 2011-05-24 16:03:41 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2011-05-24 16:04:28 -0700 |
commit | d21fef324b5270e9e3c255d278974a15a34b118a (patch) | |
tree | 969c1ad2a687d572e1b362804d6246ff5e293e04 | |
parent | c1df4425b6836c478a72d6ff37dc4bca7330e65e (diff) | |
download | rails-d21fef324b5270e9e3c255d278974a15a34b118a.tar.gz rails-d21fef324b5270e9e3c255d278974a15a34b118a.tar.bz2 rails-d21fef324b5270e9e3c255d278974a15a34b118a.zip |
Hide css:* and the default stylesheet from rails g
-rw-r--r-- | railties/lib/rails/generators.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/lib/rails/generators.rb b/railties/lib/rails/generators.rb index 34b6f7509a..02d92f751d 100644 --- a/railties/lib/rails/generators.rb +++ b/railties/lib/rails/generators.rb @@ -176,6 +176,7 @@ module Rails orm = options[:rails][:orm] test = options[:rails][:test_framework] template = options[:rails][:template_engine] + css = options[:rails][:stylesheet_engine] [ "rails", @@ -195,7 +196,11 @@ module Rails "#{test}:plugin", "#{template}:controller", "#{template}:scaffold", - "#{template}:mailer" + "#{template}:mailer", + "#{css}:scaffold", + "#{css}:assets", + "css:assets", + "css:scaffold" ] end end |