Module: Freddie::Handlers::Endpoint

Included in:
Javascript, RedirectTo, Render, Run, SendFile, Stylesheet, Template
Defined in:
lib/freddie/handlers.rb

Instance Method Summary collapse

Instance Method Details

#after_performObject



92
93
94
# File 'lib/freddie/handlers.rb', line 92

def after_perform
  finish!
end

#before_performObject

Raises:



88
89
90
# File 'lib/freddie/handlers.rb', line 88

def before_perform
  raise NotFoundError if context.path.any?
end