Project

General

Profile

Refactor #27438

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

Added by Marek Hulán about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

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

Copied from Foreman - Refactor #23191: Using a dynamic :controller segment in a route is deprecated in Rails 6.0Closed

Associated revisions

Revision 505b2c21 (diff)
Added by Marek Hulán about 2 months ago

Fixes #27438 - add welcome route (#106)

History

#1 Updated by Marek Hulán about 2 months ago

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

#2 Updated by Marek Hulán about 2 months ago

  • Fixed in Releases foreman_virt_who_configure-0.4.2 added
  • Fixed in Releases deleted (foreman_virt_who_configure-0.4.1)

#3 Updated by The Foreman Bot about 2 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/106 added

#4 Updated by Marek Hulán about 2 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/6801)

#5 Updated by Marek Hulán about 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF