tuersteher 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/tuersteher.rb +1 -0
- data/tuersteher.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.8
|
data/lib/tuersteher.rb
CHANGED
|
@@ -363,6 +363,7 @@ module Tuersteher
|
|
|
363
363
|
end
|
|
364
364
|
|
|
365
365
|
if @block
|
|
366
|
+
return false if model.instance_of?(Class) # kein Block-Call wenn Classe als model übergeben wurde
|
|
366
367
|
unless @block.call(model, user)
|
|
367
368
|
#Tuersteher::TLogger.logger.debug("#{to_s}.has_access? => false why block return false")
|
|
368
369
|
return false
|
data/tuersteher.gemspec
CHANGED