Skip to content

Redirect to 404 page on page not found #945

@RadoslavMarinov

Description

@RadoslavMarinov

In development environemnt

Expected behavior

It sould redirect to the rails 404 page defined by render_404 method

Actual behavior

Instead I get Active Record error: ActiveRecord::RecordNotFound in Comfy::Cms::ContentController#show

In fact on stage and production it is redirected to the rails 404 page but on development environment no

System configuration

Rails version: 5.2

CMS version: 2.0.0

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