Sha256: 3f279cf76438c8fe4f0c328146caf01c06669b92a857563727e0c7f5b2b3192d
Contents?: true
Size: 592 Bytes
Versions: 7
Compression:
Stored size: 592 Bytes
Contents
require 'orange-more/administration/base' module Orange::Plugins class Administration < Base assets_dir File.join(File.dirname(__FILE__), 'assets') views_dir File.join(File.dirname(__FILE__), 'views') templates_dir File.join(File.dirname(__FILE__), 'templates') resource Orange::AdminResource.new, :admin resource Orange::UserResource.new resource Orange::SiteResource.new prerouter Orange::Middleware::SiteLoad router Orange::Middleware::AccessControl end end Orange.plugin(Orange::Plugins::Administration.new)
Version data entries
7 entries across 7 versions & 1 rubygems