Sha256: 41b3189c982a2a805005dd2a77e2f663684972f9e1f09e2a22f25722633445be

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

module Plutonium
  module Auth
    module PublicAccess
      extend ActiveSupport::Concern

      included do
        helper_method :current_user
      end

      private

      def current_user
        "Guest"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
plutonium-0.6.2 lib/plutonium/auth/public_access.rb
plutonium-0.6.1 lib/plutonium/auth/public_access.rb
plutonium-0.6.0 lib/plutonium/auth/public_access.rb
plutonium-0.5.0 lib/plutonium/auth/public_access.rb