Open RadoslavMarinov opened 3 years ago
In development environemnt
It sould redirect to the rails 404 page defined by render_404 method
render_404
Instead I get Active Record error: ActiveRecord::RecordNotFound in Comfy::Cms::ContentController#show
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
Rails version: 5.2
CMS version: 2.0.0
In development environemnt
Expected behavior
It sould redirect to the rails 404 page defined by
render_404
methodActual 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