Skip to content

Make the routes static for both on-prem and connected experiences #1004

@ShimShtein

Description

@ShimShtein

Don't create conditional routes as here:

unless ForemanRhCloud.with_local_advisor_engine?

This may confuse tests, if the configuration is different on your local setup.
Instead it would be better to move this check to a before_action filter and then abort with 404 in case we don't want the route to be available,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions