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

Version Path
radiant-1.0.0.rc4 app/controllers/admin/page_fields_controller.rb
radiant-1.0.0.rc3 app/controllers/admin/page_fields_controller.rb
kajam-1.0.3.rc2 app/controllers/admin/page_fields_controller.rb
radiant-1.0.0.rc2 app/controllers/admin/page_fields_controller.rb
radiant-1.0.0.rc1 app/controllers/admin/page_fields_controller.rb
radiant-rails3-0.1 app/controllers/admin/page_fields_controller.rb