Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to 404 page on page not found #945

Open
RadoslavMarinov opened this issue Oct 1, 2021 · 0 comments
Open

Redirect to 404 page on page not found #945

RadoslavMarinov opened this issue Oct 1, 2021 · 0 comments

Comments

@RadoslavMarinov
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant