Module: MissionControl::Web

Defined in:
lib/mission_control/web.rb,
lib/mission_control/web/engine.rb,
lib/mission_control/web/version.rb,
lib/mission_control/web/request_filter.rb,
lib/mission_control/web/action_dispatch_request.rb,
lib/mission_control/web/request_filter_middleware.rb

Defined Under Namespace

Modules: ActionDispatchRequest, ApplicationScoped, ApplicationsHelper, Install, RoutesHelper Classes: Application, ApplicationController, ApplicationRecord, BulmaFormBuilder, Configuration, Current, Engine, ErrorsController, InstallGenerator, RequestFilter, RequestFilterMiddleware, Route, RoutesCache, RoutesController

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.host_applicationObject



20
21
22
# File 'lib/mission_control/web.rb', line 20

def self.host_application
  @host_application ||= Application.find_or_initialize_by_name(configuration.host_application_name)
end

.redisObject



16
17
18
# File 'lib/mission_control/web.rb', line 16

def self.redis
  current_redis || configuration.redis
end