Sha256: e816fa843a2d6b97571a1a2964d2d1a37ada7a9a64d3bba799eea097fa55bab9
Contents?: true
Size: 305 Bytes
Versions: 38
Compression:
Stored size: 305 Bytes
Contents
class Admin::PagePartsController < Admin::ResourceController def create self.model.attributes = params[model_symbol] @controller_name = 'page' @template_name = 'edit' render :partial => "page_part", :object => model, :locals => {:page_part_counter => params[:index].to_i} end end
Version data entries
38 entries across 38 versions & 6 rubygems