petergate 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/petergate/action_controller/base.rb +1 -1
- data/lib/petergate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d20c92ae2ae79dfbb8f1c9d834cc6de6e708036
|
4
|
+
data.tar.gz: 722b9be598ba7734931ec5c7bb3011527a926879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8fc4379359203634b97750673bd21d3f88dbeff336a44b2c39b68a427a477faff622379aaff828c445d8a46db596781ffe90e872a26369948a8eab50250cffa
|
7
|
+
data.tar.gz: 3a0bf6453f83ec508a009d6a5c757bd24b1481e4cee23dbee62b90ec65a360f1cf1aff0ed86543b2a3e3b74c0b5d925055795e40f7509a2273f3c034f272302e
|
@@ -56,7 +56,7 @@ module Petergate
|
|
56
56
|
def self.included(base)
|
57
57
|
base.extend(ClassMethods)
|
58
58
|
base.helper_method :logged_in?, :forbidden!
|
59
|
-
base.
|
59
|
+
base.before_action do
|
60
60
|
unless logged_in?(:root_admin)
|
61
61
|
message= defined?(check_access) ? check_access : true
|
62
62
|
if message == false || message.is_a?(String)
|
data/lib/petergate/version.rb
CHANGED