Sha256: 1dcb428d1aae14c3763152b4caeb6aca48e83d18fe40173c4658c49651c5998b

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

class ComponentsController < ApplicationController
  def index
    component_name = params[:component].gsub("::", "_").underscore
    render :inline => "<%= netzke :#{component_name}, :class_name => '#{params[:component]}' %>", :layout => true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-persistence-0.1.0 test/rails_app/app/controllers/components_controller.rb