Sha256: 09a95d7f5cb6f6648f3fd5a358eee0a7124685337b4a5f72564bc99233fa423e

Contents?: true

Size: 715 Bytes

Versions: 7

Compression:

Stored size: 715 Bytes

Contents

require 'shopify_app'
require 'jquery-rails'
require 'turbolinks'
require 'activerecord/session_store'
require 'disco_app/session'
require 'jsonapi-resources'
require 'react-rails'

module DiscoApp
  class Engine < ::Rails::Engine

    isolate_namespace DiscoApp
    engine_name 'disco_app'

    # Ensure DiscoApp helpers are available throughout application.
    config.to_prepare do
      ApplicationController.helper(DiscoApp::ApplicationHelper)
    end

    # Ensure our frame assets are included for precompilation.
    initializer 'disco_app.assets.precompile' do |app|
      app.config.assets.precompile += %w[disco_app/icon.svg disco_app/admin.css disco_app/frame.css disco_app/frame.js]
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.17.0 lib/disco_app/engine.rb
disco_app-0.18.0 lib/disco_app/engine.rb
disco_app-0.18.2 lib/disco_app/engine.rb
disco_app-0.18.3 lib/disco_app/engine.rb
disco_app-0.18.6 lib/disco_app/engine.rb
disco_app-0.18.4 lib/disco_app/engine.rb
disco_app-0.18.1 lib/disco_app/engine.rb