Sha256: 8c8d37ad1ab3c434a6c07edd51e258b078d4cca328c28409903e21dbedff4dc7

Contents?: true

Size: 926 Bytes

Versions: 1

Compression:

Stored size: 926 Bytes

Contents

##
# Package for viewing and managing installed extensions such as packages and
# languages.
#
# ## Controllers
#
# * {Extensions::Controller::Extensions}
#
# This package does not provide any helpers or models.
#
# @since 2011-11-18
#
module Extensions
  module Controller
    ##
    # Controller that displays all the installed extensions.
    #
    # @since 2011-11-18
    # @map   /admin/extensions
    #
    class Extensions < Zen::Controller::AdminController
      map   '/admin/extensions'
      title 'extensions.titles.%s'

      load_asset_group :tabs

      ##
      # Shows an overview of all the installed themes, packages, added
      # languages, etc.
      #
      # @since 2011-11-18
      # @permission show_extension
      #
      def index
        authorize_user!(:show_extension)

        set_breadcrumbs(lang('extensions.titles.index'))
      end
    end # Extensions
  end # Controller
end # Extensions

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zen-0.4.3 lib/zen/package/extensions/lib/extensions/controller/extensions.rb