Sha256: 63a45468903b2d3f55274dbb6c2724be8085a7a0e82941ef87156bed4b0ff229
Contents?: true
Size: 317 Bytes
Versions: 31
Compression:
Stored size: 317 Bytes
Contents
module Para module Admin class NestedFormsController < ComponentController def show @model = params[:model_name].constantize @object = params[:id] ? @model.find(params[:id]) : @model.new @object_name = params[:object_name] render layout: false end end end end
Version data entries
31 entries across 31 versions & 1 rubygems