Sha256: 1b85ec54fd9407ef5fdf20816031ae6f191bd93c95a2ea8c95a4a8eb76612fd1
Contents?: true
Size: 326 Bytes
Versions: 1
Compression:
Stored size: 326 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
async_futurize-0.1.11 | app/controllers/async_futurize/futurize_controller.rb |