提交 d07d1e59 编写于 作者: X Xavier Noria

removes unconventional "then" in case expression

上级 58201f7d
......@@ -391,7 +391,7 @@ def permit(*filters)
case filter
when Symbol, String
permitted_scalar_filter(params, filter)
when Hash then
when Hash
hash_filter(params, filter)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册