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.
2 parents a74aec8 + 048235b commit c713ec9Copy full SHA for c713ec9
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