Sha256: 02f67f96567ecf69ed8c5f6f8b754104355f523329f943fdef95184045d037f7
Contents?: true
Size: 728 Bytes
Versions: 6
Compression:
Stored size: 728 Bytes
Contents
module Refinery module Dashboard class << self attr_accessor :root def root @root ||= Pathname.new(File.expand_path('../../', __FILE__)) end end class Engine < ::Rails::Engine config.after_initialize do ::Refinery::Plugin.register do |plugin| plugin.name = "refinery_dashboard" plugin.url = {:controller => '/admin/dashboard', :action => 'index'} plugin.menu_match = /(admin|refinery)\/(refinery_)?dashboard$/ plugin.directory = "dashboard" plugin.version = %q{0.9.9} plugin.always_allow_access = true plugin.dashboard = true end end end end end ::Refinery.engines << 'dashboard'
Version data entries
6 entries across 6 versions & 1 rubygems