Sha256: b8f70065be35987572acc72883e39758cc4fa1f49c6bf7a4cf24e67d02e979b9
Contents?: true
Size: 471 Bytes
Versions: 71
Compression:
Stored size: 471 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
71 entries across 71 versions & 1 rubygems