Sha256: 0ae43b66bd32719089e7b2a09f11f31f4f293c689697604f0ffcbbc0f372a2d1

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

module Burp
  class Engine < ::Rails::Engine
    
    # These require are need so that jquery and jquery-ui are included into the asset pipeline.
    require 'jquery-rails'
    require 'jquery-ui-rails'
    require 'jquery-migrate-rails'
    
    isolate_namespace Burp
    
    config.autoload_paths << File.expand_path("../../../app/lib", __FILE__)
    
    # Enabling assets precompiling under rails 3.1
    if Rails.version >= '3.1'
      initializer :assets do |config|
        Rails.application.config.assets.precompile += %w( burp/editing.css burp/editing.js burp/snippets.js)
      end
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
burp_cms-1.6.0 lib/burp/engine.rb
burp_cms-1.5.13 lib/burp/engine.rb