Project

General

Profile

Actions

Refactor #27438

closed

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

Added by Marek Hulán about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
Triaged:
No
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 1 (0 open1 closed)

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

Also available in: Atom PDF