Sha256: 99c20156eaaa71f8e0469d5e9e4f216021ac7bca7a9f8f266b6c5186c029e21a
Contents?: true
Size: 1.08 KB
Versions: 7
Compression:
Stored size: 1.08 KB
Contents
require 'umlaut/routes' # not sure why including openurl gem doesn't do the require, but it # seems to need this. require 'openurl' require 'bootstrap-sass' module Umlaut class Engine < Rails::Engine engine_name "umlaut" # We need the update_html.js script to be available as it's own # JS file too, not just compiled into application.js, so we can # deliver it to external apps using it (JQuery Content Utility). # It will now be available from path /assets/umlaut/update_html.js # in production mode with precompiled assets, also in dev mode, # whatevers. initializer "#{engine_name}.asset_pipeline" do |app| app.config.assets.precompile << 'umlaut/update_html.js' app.config.assets.precompile << "umlaut_ui.js" end # Patch with fixed 'fair' version of ConnectionPool, see # active_record_patch/connection_pool.rb #initializer("#{engine_name}.patch_connection_pool", :before => "active_record.initialize_database") do |app| load File.join(self.root, "active_record_patch", "connection_pool.rb") #end end end
Version data entries
7 entries across 7 versions & 1 rubygems