scenejs_on_rails 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/scenejs_controller.rb +3 -1
- data/lib/scenejs_on_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: 548fdcbf8ecf495dbc776b5b5f1f4fbcc6aff568
|
4
|
+
data.tar.gz: da3f15351931b6d5ae47cc9cc1d3eb86b222e818
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79ba2c6c969c52a28aa22abe19e3347fda4f9c39f91129588a13df02ecd0c9f30e9952e6dc0138b6c13715cb7425e1391fd6b149e6cd58b40caf3b2a769a4c9c
|
7
|
+
data.tar.gz: 8d018e9a065d5cf6337226110daef11d18322b2b6da5d376c5e4a9d66524bb705a1b91452ed77c499b7dbdd5b17396cf5a3cbfce1aec1625de67a5d69354c53e
|
@@ -47,7 +47,9 @@ class ScenejsController < ApplicationController
|
|
47
47
|
if binary #serves binary image data
|
48
48
|
send_data(@file)
|
49
49
|
else #serves inline js (system may send as application/zip but this causes no issues)
|
50
|
-
|
50
|
+
respond_to do |format|
|
51
|
+
format.js { render js: @file, layout: false }
|
52
|
+
end
|
51
53
|
end
|
52
54
|
else
|
53
55
|
raise "ActionController::RoutingError(Scenejs Plugin not found either in gem or app locations:\n #{in_gem_file_ref}\n #{in_app_file_ref})"
|