提交 2037185e 编写于 作者: J Jonathan Hefner

Satisfy Rubocop

Fixes offense:

```
actionpack/test/journey/router_test.rb:493:37: C: Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
            options = options.merge(:_recall => recall)
                                    ^^^^^^^^^^^
```
上级 c34b6b09
......@@ -490,7 +490,7 @@ def test_eager_load_without_routes
private
def _generate(route_name, options, recall)
if recall
options = options.merge(:_recall => recall)
options = options.merge(_recall: recall)
end
path = @route_set.path_for(options, route_name)
uri = URI.parse path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册