Sha256: 245865e78521213b80f2ec096b9edaeb2f7687cdb7a9f6aa233d3880792c3b86

Contents?: true

Size: 649 Bytes

Versions: 2

Compression:

Stored size: 649 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'
    require 'font-awesome-less'
    
    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.7.1 lib/burp/engine.rb
burp_cms-1.7.0 lib/burp/engine.rb