My rails app uses a route called "four_oh_four" to provide a custom 404 page that uses the site's application layout to look nice.
I've started receiving the following errors:
Missing template info/four_oh_four with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>["image/jpeg", "image/pjpeg", "image/png", "image/gif"], :locale=>[:en, :en]}
I can't seem to figure out what I need to be doing to resolve this. Any ideas?
Here's what the controller looks like (nothing, really):
def four_oh_four
end
And here's the routes.rb:
match 'four_oh_four' => 'info#four_oh_four', :as => :four_oh_four
...
# Catch 404s
match '*path' => 'info#four_oh_four', :status => 404