Skip to content

Commit

Permalink
Hide css:* and the default stylesheet from rails g
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed May 24, 2011
1 parent 9f815ee commit c796d69
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion railties/lib/rails/generators.rb
Expand Up @@ -176,6 +176,7 @@ def self.hidden_namespaces
orm = options[:rails][:orm]
test = options[:rails][:test_framework]
template = options[:rails][:template_engine]
css = options[:rails][:stylesheet_engine]

[
"rails",
Expand All @@ -195,7 +196,11 @@ def self.hidden_namespaces
"#{test}:plugin",
"#{template}:controller",
"#{template}:scaffold",
"#{template}:mailer"
"#{template}:mailer",
"#{css}:scaffold",
"#{css}:assets",
"css:assets",
"css:scaffold"
]
end
end
Expand Down

0 comments on commit c796d69

Please sign in to comment.