Sha256: c0c5d02d84acd860b96f45527ff05d4602eedc45a2c47782076e6304d44ec8cc
Contents?: true
Size: 327 Bytes
Versions: 86
Compression:
Stored size: 327 Bytes
Contents
class Admin::PageFieldsController < Admin::ResourceController def create self.model = PageField.new(params[model_symbol]) @controller_name = 'page' @template_name = 'edit' render :partial => "page_field", :object => model, :locals => { :page_field_counter => params[:page_field_counter].to_i} end end
Version data entries
86 entries across 86 versions & 4 rubygems