Module: Entrance::Controller::ClassMethods

Defined in:
lib/entrance/controller.rb

Instance Method Summary collapse

Instance Method Details

#allow_pathsObject

lets us do app.skip_paths.push(‘/specific/path/we/want/unprotected’)



10
11
12
# File 'lib/entrance/controller.rb', line 10

def allow_paths
  @allow_paths ||= []
end