Project

General

Profile

Refactor #23191

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

Added by Lukas Zapletal over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
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

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

Related to Discovery - Bug #27335: Using a dynamic :controller segment in a route is deprecated in Rails 6.0Closed
Blocks Foreman - Tracker #24837: Rails 6.0 TrackerNew

Copied to virt-who configure - Refactor #27438: Using a dynamic :controller segment in a route is deprecated in Rails 6.0Closed

Associated revisions

Revision eaa59de3 (diff)
Added by Michael Moll 5 months ago

Fixes #23191 - replace dynamic controller routing

History

#1 Updated by Lukas Zapletal over 1 year ago

#2 Updated by Michael Moll over 1 year ago

  • Tracker changed from Bug to Refactor

#3 Updated by Michael Moll over 1 year ago

  • Subject changed from Using a dynamic :controller segment in a route is deprecated in Rails 5.2 to Using a dynamic :controller segment in a route is deprecated in Rails 6.0

#4 Updated by Michael Moll over 1 year ago

#5 Updated by The Foreman Bot 6 months ago

  • Assignee set to Michael Moll
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6801 added

#6 Updated by Ohad Levy 5 months ago

  • Target version set to 1.23.0
  • Fixed in Releases 1.23.0 added

#7 Updated by Michael Moll 5 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by Lukas Zapletal 5 months ago

  • Related to Bug #27335: Using a dynamic :controller segment in a route is deprecated in Rails 6.0 added

#9 Updated by Marek Hulán 4 months ago

  • Copied to Refactor #27438: Using a dynamic :controller segment in a route is deprecated in Rails 6.0 added

Also available in: Atom PDF