Sha256: 7af08069feb1a24c31d49091688cd19e1945f46e9be634619dee389222eb828d
Contents?: true
Size: 480 Bytes
Versions: 6
Compression:
Stored size: 480 Bytes
Contents
require 'refinery/core/nil_user' module Refinery module Authentication module Devise class NilUser < Refinery::Core::NilUser def plugins Refinery::Plugins.new end def has_role?(role) false end def has_plugin?(name) false end def can_edit?(user) false end def landing_url Refinery::Core.backend_path end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems