brightcontent-core 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 328a1aa0d525ba8f997a32e0fbfbc4675c80e600
|
4
|
+
data.tar.gz: 2627af46726751c4e3a53b42910b655bb21faf21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 425e635a272e26eae660eb090f969d5c4c6ca641be917566fbef82bae50f8f74e7e857bbabfded9bc8e0ff5691fb16a75cc9dd84b63210e0b05bf32d948de87b
|
7
|
+
data.tar.gz: 3b7f9191314307de47b847f766f88d295ad2c70aae7619d80ac2ee6af1a2f18783b25d34718c54fe4b73f9a52058509834815e93b1554af626c316a6af9aa3ec
|
@@ -16,7 +16,9 @@ module Brightcontent
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def current_user
|
19
|
-
@current_user ||=
|
19
|
+
@current_user ||= begin
|
20
|
+
Brightcontent.user_model.find(session[:brightcontent_user_id]) if session[:brightcontent_user_id]
|
21
|
+
end
|
20
22
|
end
|
21
23
|
helper_method :current_user
|
22
24
|
|