class Amatista::Filter


Callback filters to use before the actions.

Defined in:


Class Method Summary

Instance Method Summary

Class Method Detail

def self.execute_blocks(filters, controller, path) #

This will search for the filters callbacks and execute the block if it's not an HTTP::Response

[View source]
def self.find_all(filters, controller, path) #

Finds the filters based on the controller or the ApplicationController father and the paths selected.

[View source]
def self.find_response(filters, controller, path) #

Find a filter that has a block as an HTTP::Response return's value

[View source]
def, paths, condition, block : T) #

[View source]

Instance Method Detail

def block #

def block=(block) #

def condition #

def condition=(condition) #

def controller #

def controller=(controller) #

def paths #

def paths=(paths) #