We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a74aec8 commit 048235bCopy full SHA for 048235b
actionpack/lib/action_dispatch/routing/mapper.rb
@@ -291,7 +291,7 @@ def split_to(to)
291
when String
292
ActiveSupport::Deprecation.warn(<<-MSG.squish)
293
Defining a route where `to` is a controller without an action is deprecated.
294
- Please change `to: :#{to}` to `controller: :#{to}`.
+ Please change `to: '#{to}'` to `controller: '#{to}'`.
295
MSG
296
297
[to, nil]
0 commit comments