提交 584ebed4 编写于 作者: V Vipul A M

remove unused variable

上级 b5e4eb24
......@@ -515,7 +515,6 @@ def grouped_options_for_select(grouped_options, selected_key = nil, options = {}
divider = options[:divider]
else
prompt = options
options = {}
message = "Passing the prompt to grouped_options_for_select as an argument is deprecated. " \
"Please use an options hash like `{ prompt: #{prompt.inspect} }`."
ActiveSupport::Deprecation.warn message
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册