Class: Thoth::Controller

Inherits:
Ramaze::Controller
  • Object
show all
Defined in:
lib/thoth/controller.rb

Class Method Summary collapse

Class Method Details

.action_missing(path) ⇒ Object

Displays a custom 404 error when a nonexistent action is requested.



39
40
41
42
# File 'lib/thoth/controller.rb', line 39

def self.action_missing(path)
  return if path == '/error_404'
  try_resolve('/error_404')
end