提交 fd552e59 编写于 作者: R Rafael Mendonça França

Merge pull request #9083 from bronson/patch-1

avoid using alias in generators
......@@ -30,7 +30,10 @@ def template(source, *args, &block)
protected
attr_reader :file_name
alias :singular_name :file_name
def singular_name
file_name
end
# Wrap block with namespace of current application
# if namespace exists and is not skipped
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册