Sha256: 92420770b32c7a2f3408bef55dfc1f172fb26016f5f49b4862f43b7cad2e8dde
Contents?: true
Size: 623 Bytes
Versions: 22
Compression:
Stored size: 623 Bytes
Contents
module Kuhsaft module Cms class PagePartsController < AdminController def index end def show end def new end def create end def edit end def update if @page_part = Kuhsaft::PagePart::Content.find(params[:id]) @page_part.reposition params[:reposition] if params[:reposition].present? || params.key?(:reposition) end render 'update' end def destroy @page_part = Kuhsaft::PagePart::Content.find(params[:id]) @page_part.destroy render 'destroy' end end end end
Version data entries
22 entries across 22 versions & 1 rubygems