Class: Utopia::Redirection::FileNotFound

Inherits:
Errors
  • Object
show all
Defined in:
lib/utopia/redirection.rb

Instance Method Summary collapse

Methods inherited from Errors

#call, #freeze

Constructor Details

#initialize(uri = '/errors/file-not-found') ⇒ FileNotFound

Returns a new instance of FileNotFound.



73
74
75
# File 'lib/utopia/redirection.rb', line 73

def initialize(uri = '/errors/file-not-found')
	super(404 => uri)
end