Class: Ext::Security::Controllers::Unauthenticated

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/security.rb

Overview

Customize by creating an “unauthenticated” view. You could implement a login page here.

Direct Known Subclasses

BasicAuth::Controllers::Unauthenticated

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.urlsObject

do not serve urls directly.



106
# File 'lib/ext/security.rb', line 106

def self.urls; [] end

Instance Method Details

#getObject



108
109
110
111
112
# File 'lib/ext/security.rb', line 108

def get
  if has_view?(:unauthenticated)
    render(:unauthenticated)
  else 'Unauthenticated' end
end