Module: Sorcery::Controller::Adapters::Sinatra::ClassMethods

Defined in:
lib/sorcery/controller/adapters/sinatra.rb

Instance Method Summary collapse

Instance Method Details

#prepend_before_filter(filter) ⇒ Object



106
107
108
109
110
# File 'lib/sorcery/controller/adapters/sinatra.rb', line 106

def prepend_before_filter(filter)
  prepend_filter(:before) do
    send(filter)
  end
end