Sha256: 832333f898db272bab81cc60ae5aaf91ed50744a853fc1b08754fcd65a872c81

Contents?: true

Size: 302 Bytes

Versions: 30

Compression:

Stored size: 302 Bytes

Contents

module Typus
  module Authentication
    module Devise

      protected

      include Base

      def admin_user
        send("current_#{Typus.user_class_name.underscore}")
      end

      def authenticate
        send("authenticate_#{Typus.user_class_name.underscore}!")
      end

    end
  end
end

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
typus-3.1.4 lib/typus/authentication/devise.rb
typus-3.1.3 lib/typus/authentication/devise.rb
typus-3.1.2 lib/typus/authentication/devise.rb
typus-3.1.1 lib/typus/authentication/devise.rb
typus-3.1.0 lib/typus/authentication/devise.rb
typus-3.1.0.rc19 lib/typus/authentication/devise.rb
typus-3.1.0.rc18 lib/typus/authentication/devise.rb
typus-3.1.0.rc17 lib/typus/authentication/devise.rb
typus-3.1.0.rc16 lib/typus/authentication/devise.rb
typus-3.1.0.rc15 lib/typus/authentication/devise.rb