Project

General

Profile

Bug #27335

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

Added by Lukas Zapletal 12 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
No
Bugzilla link:

Description

I have never understood how this "help" pages work. In discovery plugin I have a welcome.html.erb view that renders "No discovered hosts found in this context" page when there are no records and this has been working fine for years.

This suggested patch adds ability to use /discovered_hosts/help URL which was previously not working, but I don't believe there is any link in the discovery plugin to this URL. So I am not sure how useful the route is.


Related issues

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

Associated revisions

Revision 178e4d4e (diff)
Added by Lukas Zapletal 10 months ago

Fixes #27335 - getting rid of Rails 6 incomp

And improve discover script

History

#1 Updated by Lukas Zapletal 12 months ago

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

#2 Updated by The Foreman Bot 12 months ago

  • Assignee set to Lukas Zapletal
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_discovery/pull/481 added

#3 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Discovery Plugin 16.0 added

#4 Updated by Anonymous 10 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF