Sha256: 41de710994e09dc10d4fb0ceaab3cabd484f448fdd3f4f692def9181504ae60b

Contents?: true

Size: 248 Bytes

Versions: 11

Compression:

Stored size: 248 Bytes

Contents

module Cms
  class CategoryTypesController < Cms::ContentBlockController
    def show
      redirect_to edit_category_type_path(id: params[:id])
    end

    def create
      params[:_redirect_to] = category_types_path
      super
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.3.3 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.3.2 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.3.1 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.3 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.2 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.1.1 app/controllers/cms/category_types_controller.rb
browsercms-artirix-4.0.0.rc1.art4 app/controllers/cms/category_types_controller.rb
browsercms-4.0.0.rc1 app/controllers/cms/category_types_controller.rb
browsercms-4.0.0.beta app/controllers/cms/category_types_controller.rb
browsercms-4.0.0.alpha app/controllers/cms/category_types_controller.rb