Sha256: 8009cc5b06551e2cf1a8fdd667dff93976e43db7832cd8f343035e625faa1681

Contents?: true

Size: 219 Bytes

Versions: 17

Compression:

Stored size: 219 Bytes

Contents

module Admin
  class PagePartsController < BaseController
  
    layout nil

    def index
      parts = current_site.layouts.find(params[:layout_id]).parts
      render :json => { :parts => parts }
    end
  
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
locomotive_cms-0.0.3.3 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.3.1 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.9 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.8 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.7 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.6 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.5 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.4 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.3 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.2 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2.1 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.2 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.1.4 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.1.3 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.1.2 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.1.1 app/controllers/admin/page_parts_controller.rb
locomotive_cms-0.0.1 app/controllers/admin/page_parts_controller.rb