async_futurize 0.1.10 → 0.1.11
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86b609afd7ae960588a5e6abfe7726a4d1fe49167775e751f1dbcb5abfced1a9
|
4
|
+
data.tar.gz: 847b036f3275fb1b177c0e8113b34c81e12d2498f5109524cd74f561e478ebdf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 128fce6cbde1c4608d55379de82c1539cb2c00defd904741b46efd5697a4fadd1cbfcd7e057864a1c4bf3b24d3d44434abdc2e1ca05dee4d61de22dc2da1d90b
|
7
|
+
data.tar.gz: d2c0867acfd3f32114633d64be844c58f729cf0bded44ea40ebf48a4eea658004836ac0e69b2fdeeaae26545122ad1614b832523337622342a06c14ceb7b1dc8
|
@@ -1,9 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
end
|
7
|
-
end
|
1
|
+
class FuturizeController < ApplicationController
|
2
|
+
def loadComponent
|
3
|
+
locals = { component: params[:component_to_load], component_params: params[:component_params] }
|
4
|
+
render json: { component: params[:component_to_load], html: render_to_string(partial: './futurize_component_ajax', locals: locals) }
|
5
|
+
end
|
8
6
|
end
|
9
7
|
|