Sha256: c0fc65136d10a3fddd92b9d85691eabda0e2dc16b19007529921d6f318d35cc4

Contents?: true

Size: 811 Bytes

Versions: 1

Compression:

Stored size: 811 Bytes

Contents

require 'spud_admin'
require 'rails'
require 'action_controller'
require 'rubygems'
require 'jquery-rails'
require 'authlogic'
require 'dynamic_form'
require 'breadcrumbs_on_rails'
require 'will_paginate'
require 'spud_admin/belongs_to_app'
module Spud
     module Core
 class Engine < Rails::Engine
     engine_name :spud_core
     initializer :assets do |config| 
     	Rails.application.config.assets.precompile += [ 
    	   "jquery.wymeditor.pack.js",
           "wymeditor/*", 
           "wymeditor/lang/*", 
           "wymeditor/skins/default/*", 
           "wymeditor/skins/default/**/*",
           "spud/admin*"
        ]
     end

     initializer :controller_overrides do |config|
     	ActionController::Base.class_eval do
     		include Spud::BelongsToApp
     	end
     end
     
 end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spud_admin-0.2.0 lib/spud_admin/engine.rb