Sha256: 50ac3f8ac905b14f807d332b81762f23218285710b54e84793d230108ad32192
Contents?: true
Size: 475 Bytes
Versions: 5
Compression:
Stored size: 475 Bytes
Contents
class ComponentsController < ApplicationController def show component_name = params[:component].gsub("::", "_").underscore render :inline => "<%= netzke :#{component_name}, :class_name => '#{params[:component]}' %>", :layout => true end # Just a test for a pure Ext component - not sure if it's useful. def ext component_name = params[:component].gsub("::", "_").underscore render :inline => "<%= ext :#{component_name} %>", :layout => true end end
Version data entries
5 entries across 5 versions & 1 rubygems