execjs-rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/execjs/rails/engine.rb +1 -1
- data/lib/execjs/rails/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: 94df28a64d5a641bf934626cafaa646ce3a7cad7
|
4
|
+
data.tar.gz: ca595a9af71cbb2c95a64c9346a8d27ee6750904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd8472bf22488bd331aef366a575a9769e1fe9f5868e4079444055d98795e6db419df18fd411b0d96e5e0be7725178fa48fb92f1f9d5712d907ff6e9d994b738
|
7
|
+
data.tar.gz: 3bc750dad9d6159eca733d4512b6748eeca9f52bbbe54eb95056fd141115efe8098ed47e14230b898d4a64fed17176c665304bc26b0672537d8c1ecbc095d16c
|
data/lib/execjs/rails/engine.rb
CHANGED
@@ -14,7 +14,7 @@ module ExecJS
|
|
14
14
|
controller: view.controller_name,
|
15
15
|
action: view.action_name,
|
16
16
|
csrf_token: view.form_authenticity_token || nil,
|
17
|
-
current_user: view.current_user
|
17
|
+
current_user: view.try(:current_user)
|
18
18
|
}).merge!(options.stringify_keys).as_json
|
19
19
|
end
|
20
20
|
|
data/lib/execjs/rails/version.rb
CHANGED