Sha256: 643fa1f78679111462c430324a95872a9a32dfb0100a51a410e7087b2d20e80d

Contents?: true

Size: 429 Bytes

Versions: 125

Compression:

Stored size: 429 Bytes

Contents

class Admin::ExtensionsController < ApplicationController
  only_allow_access_to :index,
    :when => :admin,
    :denied_url => { :controller => 'pages', :action => 'index' },
    :denied_message => 'You must have administrative privileges to perform this action.'

  def index
    @template_name = 'index' # for Admin::RegionsHelper
    @extensions = TrustyCms::Extension.descendants.sort_by { |e| e.extension_name }
  end
end

Version data entries

125 entries across 125 versions & 1 rubygems

Version Path
trusty-cms-4.1.2 app/controllers/admin/extensions_controller.rb
trusty-cms-4.1.1 app/controllers/admin/extensions_controller.rb
trusty-cms-4.1.0 app/controllers/admin/extensions_controller.rb
trusty-cms-4.0.2 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.7 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.6 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.5 app/controllers/admin/extensions_controller.rb
trusty-cms-4.0.1 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.4 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.3 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.2 app/controllers/admin/extensions_controller.rb
trusty-cms-4.0.0 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.1 app/controllers/admin/extensions_controller.rb
trusty-cms-3.9.0 app/controllers/admin/extensions_controller.rb
trusty-cms-3.8.4 app/controllers/admin/extensions_controller.rb
trusty-cms-3.8.3 app/controllers/admin/extensions_controller.rb
trusty-cms-3.8.2 app/controllers/admin/extensions_controller.rb
trusty-cms-3.8.1 app/controllers/admin/extensions_controller.rb
trusty-cms-3.8.0 app/controllers/admin/extensions_controller.rb
trusty-cms-3.7.1 app/controllers/admin/extensions_controller.rb