Sha256: 934e8f325102946203308960845fa62192caa269ebd7895d23b46f3e1c362755
Contents?: true
Size: 345 Bytes
Versions: 11
Compression:
Stored size: 345 Bytes
Contents
class ComponentsController < ApplicationController def index if params[:component] component_name = params[:component].gsub("::", "_").underscore render :inline => "<%= netzke :#{component_name}, :class_name => '#{params[:component]}', :height => 400 %>", :layout => true else redirect_to root_path end end end
Version data entries
11 entries across 11 versions & 2 rubygems