Project

General

Profile

Actions

Refactor #23191

closed

Using a dynamic :controller segment in a route is deprecated in Rails 6.0

Added by Lukas Zapletal about 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This is the problematic line

get '(:controller)/help', :action => 'welcome', :as => "help"

and it seems we need to explicitly add those to all controllers.


Related issues 4 (0 open4 closed)

Related to Foreman - Tracker #21834: Rails 5.2 upgrade tasksClosed

Actions
Related to Discovery - Bug #27335: Using a dynamic :controller segment in a route is deprecated in Rails 6.0ClosedLukas ZapletalActions
Blocks Foreman - Tracker #24837: Rails 6.0 TrackerClosed

Actions
Copied to virt-who configure - Refactor #27438: Using a dynamic :controller segment in a route is deprecated in Rails 6.0ClosedMarek HulánActions
Actions

Also available in: Atom PDF