app/controllers/admin/blocks_controller.rb in kit_cms-2.3.9 vs app/controllers/admin/blocks_controller.rb in kit_cms-2.3.10
- old
+ new
@@ -1,6 +1,6 @@
class Admin::BlocksController < AdminController
- layout "cms-boxed"
+ layout "cms"
def index
@blocks = Block.sys(_sid).order(:name)
@blocks = @blocks.where('name like "%' + params[:for] + '%" or body like "%' + params[:for] + '%" or description like "%' + params[:for] + '%"') if params[:for].not_blank?
@blocks = @blocks.page(params[:page]).per(25)