Keep the singular style, like before_filter, etc

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 cd689cf2
......@@ -295,7 +295,7 @@ def hidden_actions
end
# Hide each of the given methods from being callable as actions.
def hide_actions(*names)
def hide_action(*names)
write_inheritable_attribute(:hidden_actions, hidden_actions | names.collect {|n| n.to_s})
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册