ahoy_matey 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ahoy/version.rb +1 -1
- data/lib/ahoy_matey.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: e26a906ddc293ac0416f2f254d784cfc6db73003
|
4
|
+
data.tar.gz: 541082bbd91a7633e0dbec197f8107e5d4eda36b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 003f1ce5a22f8a075dc29e2f1fec577621977152821cfd4bff6f8f6b930237909f9b63ca148efc03d9ddc12f8224a1f60f6683f1753ba801569ca745dab03898
|
7
|
+
data.tar.gz: bdc8fe84047e09ffec04fa4464c30698ef7be5771749a2fce969e70b704676e33395ff2cb508e9541c3930111228fa5d3b17e46b01b661fb791ea686b18a320a
|
data/CHANGELOG.md
CHANGED
data/lib/ahoy/version.rb
CHANGED
data/lib/ahoy_matey.rb
CHANGED
@@ -40,7 +40,7 @@ module Ahoy
|
|
40
40
|
|
41
41
|
mattr_accessor :user_method
|
42
42
|
self.user_method = proc do |controller|
|
43
|
-
(controller.respond_to?(:current_user) && controller.current_user) || (controller.respond_to?(:current_resource_owner, true)
|
43
|
+
(controller.respond_to?(:current_user) && controller.current_user) || (controller.respond_to?(:current_resource_owner, true) && controller.send(:current_resource_owner)) || nil
|
44
44
|
end
|
45
45
|
|
46
46
|
end
|