Sha256: f4c111f41334f9bc2e4ce6d1001ea8531e319172d1e5146726935bf622bad0d2

Contents?: true

Size: 329 Bytes

Versions: 7

Compression:

Stored size: 329 Bytes

Contents

module PandaCms
  class Admin::FilesController < ApplicationController
    before_action :set_initial_breadcrumb, only: %i[index show]

    def index
      redirect_to admin_dashboard_path
    end

    def show
    end

    private

    def set_initial_breadcrumb
      add_breadcrumb "Media", admin_files_path
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
panda_cms-0.3.6 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.5 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.4 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.3 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.2 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.1 app/controllers/panda_cms/admin/files_controller.rb
panda_cms-0.3.0 app/controllers/panda_cms/admin/files_controller.rb