Class: Ext::Security::Controllers::Unauthenticated
- Defined in:
- lib/ext/security.rb
Overview
Customize by creating an “unauthenticated” view. You could implement a login page here.
Direct Known Subclasses
Class Method Summary collapse
-
.urls ⇒ Object
do not serve urls directly.
Instance Method Summary collapse
Class Method Details
.urls ⇒ Object
do not serve urls directly.
106 |
# File 'lib/ext/security.rb', line 106 def self.urls; [] end |
Instance Method Details
#get ⇒ Object
108 109 110 111 112 |
# File 'lib/ext/security.rb', line 108 def get if has_view?(:unauthenticated) render(:unauthenticated) else 'Unauthenticated' end end |