Sha256: 383bbb45564571ff4852b0391aa9905eb0233b0831c5bee6affcbb838b6fbfd2

Contents?: true

Size: 364 Bytes

Versions: 7

Compression:

Stored size: 364 Bytes

Contents

module async_futurize
  class FuturizeController < ApplicationController
      def loadComponent
        locals = { component: params[:component_to_load], component_params: params[:component_params] }
        render json: { component: params[:component_to_load], html: render_to_string(partial: './futurize_component_ajax', locals: locals) }
      end
  end
end
  

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
async_futurize-0.1.9 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.8 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.7 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.6 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.5 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.4 app/controllers/async_futurize/futurize_controller.rb
async_futurize-0.1.3 app/controllers/async_futurize/futurize_controller.rb