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

Version Path
trusty-cms-1.0.0 app/controllers/admin/page_parts_controller.rb
radiant-1.1.4 app/controllers/admin/page_parts_controller.rb
radiant-1.1.3 app/controllers/admin/page_parts_controller.rb
radiant-1.1.2 app/controllers/admin/page_parts_controller.rb
radiant-1.1.1 app/controllers/admin/page_parts_controller.rb
radiant-1.1.0 app/controllers/admin/page_parts_controller.rb
radiant-1.1.0.rc1 app/controllers/admin/page_parts_controller.rb
radiant-1.1.0.beta app/controllers/admin/page_parts_controller.rb
radiant-1.0.1 app/controllers/admin/page_parts_controller.rb
radiant-1.1.0.alpha app/controllers/admin/page_parts_controller.rb
radiant-1.0.0 app/controllers/admin/page_parts_controller.rb
radiant-1.0.0.rc5 app/controllers/admin/page_parts_controller.rb
radiant-1.0.0.rc4 app/controllers/admin/page_parts_controller.rb
radiant-1.0.0.rc3 app/controllers/admin/page_parts_controller.rb
kajam-1.0.3.rc2 app/controllers/admin/page_parts_controller.rb
radiant-1.0.0.rc2 app/controllers/admin/page_parts_controller.rb
radiant-1.0.0.rc1 app/controllers/admin/page_parts_controller.rb
radiant-rails3-0.1 app/controllers/admin/page_parts_controller.rb
radiantcms-couchrest_model-0.2.4 app/controllers/admin/page_parts_controller.rb
radiantcms-couchrest_model-0.2.2 app/controllers/admin/page_parts_controller.rb