Sha256: 352efa4320d254c34cbce1a58b78bedc83ebe2e2028cdffdca1f2dd1bcfc29d6

Contents?: true

Size: 926 Bytes

Versions: 6

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 18-11-2011
#
module Extensions
  module Controller
    ##
    # Controller that displays all the installed extensions.
    #
    # @since 18-11-2011
    # @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 18-11-2011
      # @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

6 entries across 6 versions & 1 rubygems

Version Path
zen-0.4.2 lib/zen/package/extensions/lib/extensions/controller/extensions.rb
zen-0.4.1 lib/zen/package/extensions/lib/extensions/controller/extensions.rb
zen-0.4 lib/zen/package/extensions/lib/extensions/controller/extensions.rb
zen-0.3 lib/zen/package/extensions/lib/extensions/controller/extensions.rb
zen-0.3b1 lib/zen/package/extensions/lib/extensions/controller/extensions.rb
zen-0.3b lib/zen/package/extensions/lib/extensions/controller/extensions.rb