async_futurize 0.1.11 → 0.1.12
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: d7f5e15a17cef1b822e92f47ff954c16dbaa3dee334dc71f814d6106a31e6427
|
4
|
+
data.tar.gz: 0e41f1295ce58e1545f26b8dbfd996cc2a1a51b585d763a6ee3665ed8045aec7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '054998df99628b7c151251a67b0d20f3a67eede2a7ca0e2445a5a16e735c829adc9fe34eefe5315e6f0bd49ab290985b574941bebf414a3f3ddb9527356d16a3'
|
7
|
+
data.tar.gz: 1fc6880c905aa36665003d03196814a604eaab54bdf6f7708b857ec30a8c2bd95dc9624a68ca31b30573440a5b62b4b206dc68cad416eec94dc78d26afe72bf9
|
@@ -1,7 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
module AsyncFuturize
|
2
|
+
class FuturizeController < ApplicationController
|
3
|
+
def loadComponent
|
4
|
+
locals = { component: params[:component_to_load], component_params: params[:component_params] }
|
5
|
+
render json: { component: params[:component_to_load], html: render_to_string(partial: './futurize_component_ajax', locals: locals) }
|
6
|
+
end
|
7
|
+
end
|
6
8
|
end
|
7
9
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async_futurize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ashesh Tuladhar
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- LICENSE.txt
|
25
25
|
- README.md
|
26
26
|
- Rakefile
|
27
|
+
- app/controllers/applicaton_controller.rb
|
27
28
|
- app/controllers/async_futurize/futurize_controller.rb
|
28
29
|
- app/helpers/futurize_helper.rb
|
29
30
|
- app/javascript/packs/futurize.js
|