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
brainsome_typus-4.0.0.beta13 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta12 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta11 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta10 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta9 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta8 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta7 lib/typus/authentication/devise.rb
typus-rails4-4.0.0.beta6 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta6 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta5 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta4 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta3 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta2 lib/typus/authentication/devise.rb
brainsome_typus-4.0.0.beta1 lib/typus/authentication/devise.rb
typus-3.1.10 lib/typus/authentication/devise.rb
typus-3.1.9 lib/typus/authentication/devise.rb
typus-3.1.8 lib/typus/authentication/devise.rb
typus-3.1.7 lib/typus/authentication/devise.rb
typus-3.1.6 lib/typus/authentication/devise.rb
typus-3.1.5 lib/typus/authentication/devise.rb