class Thoth::Controller

Public Class Methods

action_missing(path) click to toggle source

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

# File lib/thoth/controller.rb, line 39
def self.action_missing(path)
  return if path == '/error_404'
  try_resolve('/error_404')
end