提交 d21fef32 编写于 作者: W wycats

Hide css:* and the default stylesheet from rails g

上级 c1df4425
......@@ -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",
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册