Sha256: b253b19cfecf4c6f601e2eeeaf06f3af8ad75a9264a4608cc241f9f72a623f12

Contents?: true

Size: 357 Bytes

Versions: 27

Compression:

Stored size: 357 Bytes

Contents

class ApplicationController < ActionController::Base
  before_action :setup_white_label

  private

  def setup_white_label
    # Somewhat white label support
    prepend_view_path(["vendor/custombuilds/#{ENV['COMPOSE_PROJECT_NAME']}.#{ENV['BASE_DOMAIN']}/deltas/app/views"]) if ENV['COMPOSE_PROJECT_NAME'].present? && ENV['BASE_DOMAIN'].present?
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
thecore_ui_commons-3.2.15 app/controllers/application_controller.rb
thecore_ui_commons-3.2.14 app/controllers/application_controller.rb
thecore_ui_commons-3.2.13 app/controllers/application_controller.rb
thecore_ui_commons-3.2.12 app/controllers/application_controller.rb
thecore_ui_commons-3.2.11 app/controllers/application_controller.rb
thecore_ui_commons-3.2.10 app/controllers/application_controller.rb
thecore_ui_commons-3.2.9 app/controllers/application_controller.rb
thecore_ui_commons-3.2.8 app/controllers/application_controller.rb
thecore_ui_commons-3.2.7 app/controllers/application_controller.rb
thecore_ui_commons-3.2.6 app/controllers/application_controller.rb
thecore_ui_commons-3.2.5 app/controllers/application_controller.rb
thecore_ui_commons-3.2.4 app/controllers/application_controller.rb
thecore_ui_commons-3.2.3 app/controllers/application_controller.rb
thecore_ui_commons-3.2.2 app/controllers/application_controller.rb
thecore_ui_commons-3.2.1 app/controllers/application_controller.rb
thecore_ui_commons-3.2.0 app/controllers/application_controller.rb
thecore_ui_commons-3.1.11 app/controllers/application_controller.rb
thecore_ui_commons-3.1.10 app/controllers/application_controller.rb
thecore_ui_commons-3.1.9 app/controllers/application_controller.rb
thecore_ui_commons-3.1.8 app/controllers/application_controller.rb