ArgumentError in PagesController#show

`render file:` should be given the absolute path to a file. 'public/404.html' was given instead
Extracted source (around line #10):
8
9
10
11
12
13
              
render params[:page]
else
render file: "public/404.html", status: :not_found
end
end

Rails.root: /home/scottkekoa/apps/walltowallcabinetry/myproject

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"page"=>"form", "format"=>"php"}

Response

Headers:

None