lib/spud_cms/engine.rb in spud_cms-0.4.5 vs lib/spud_cms/engine.rb in spud_cms-0.4.6
- old
+ new
@@ -2,10 +2,12 @@
require 'codemirror-rails'
module Spud
module Cms
class Engine < Rails::Engine
engine_name :spud_cms
+ # config.autoload_paths << File.expand_path("../app/sweepers", __FILE__)
+
initializer :admin do
Spud::Core.configure do |config|
config.admin_applications += [{:name => "Pages",:thumbnail => "spud/admin/pages_thumb.png",:url => "/spud/admin/pages",:order => 0}]
if Spud::Cms.menus_enabled
config.admin_applications += [{:name => "Menus",:thumbnail => "spud/admin/menus_thumb.png",:url => "/spud/admin/menus",:order => 2}]