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