for the 404 page better use: `render_error 404 and return unless @post`