Sha256: 309ae781717fbd82fc027f355201829147c8626576dace5e79ad685ee2a76890
Contents?: true
Size: 431 Bytes
Versions: 35
Compression:
Stored size: 431 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 = Radiant::Extension.descendants.sort_by { |e| e.extension_name } end end
Version data entries
35 entries across 35 versions & 3 rubygems