Class: ErrorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/errors_controller.rb

Overview

this class handles 404 errors, so we don't get a HTML dump in the developer console at the frontend.

Author:

Instance Attribute Summary

Attributes inherited from ApplicationController

#current_user

Instance Method Summary (collapse)

Instance Method Details

- (Object) routing



5
6
7
# File 'app/controllers/errors_controller.rb', line 5

def routing
  render_404
end