Sha256: 5098f2a16df8daa4098d6d474781ffd32493e6d8fb7eed9f4de6754cce90ee58
Contents?: true
Size: 709 Bytes
Versions: 10
Compression:
Stored size: 709 Bytes
Contents
module ::RailsConnector class CloudEngine < Rails::Engine initializer "cloud_connector.add_assets" do |app| # Specify which file should be precompiled for packaging app.config.assets.precompile += %w( infopark_editing.js infopark_editing.css ) end initializer "rails issue 4911 workaround" do if Rails.version < '4' max_size = [ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE, 228].min silence_warnings { ActiveSupport::Cache::FileStore::FILENAME_MAX_SIZE = max_size } end end initializer "widgets.attach_router" do |app| ::RailsConnector::WidgetRenderer.class_eval do include app.routes.url_helpers end end end end
Version data entries
10 entries across 10 versions & 1 rubygems