effective_logging 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/effective_logging/log_changes_user.rb +1 -1
- data/lib/effective_logging/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: 84a6a84d828b9f24b2976969a43048586188032e
|
4
|
+
data.tar.gz: 9517a8882cae12dd3d921d3c5668487b2f8d7db7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c8bdb715246b4a00737f68ed47e4fe9078b40aad0ce20008068c333ed4135496c3b6330ed619a6c4dd7978d33ace064b828a74ce5af7c365331d355acdfaa28
|
7
|
+
data.tar.gz: 42c66d9b186993ea2e67493ea146b650e5025167adb45f1b7fff29fb8bc4fc4ab9c2ae8cad198717b62f465bc9120e5708871c917bc7732d67e0cbfb10f7b9e1
|
@@ -5,7 +5,7 @@ module EffectiveLogging
|
|
5
5
|
# before_action :set_log_changes_user
|
6
6
|
|
7
7
|
def set_log_changes_user
|
8
|
-
if
|
8
|
+
if respond_to?(:current_user)
|
9
9
|
EffectiveLogging.log_changes_user = current_user
|
10
10
|
else
|
11
11
|
raise "(effective_logging) set_log_changes_user expects a current_user() method to be available"
|