Class: MissionControl::Web::Route
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- MissionControl::Web::Route
- Includes:
- Applications
- Defined in:
- app/models/mission_control/web/route.rb
Defined Under Namespace
Modules: Applications
Instance Method Summary collapse
Instance Method Details
#application ⇒ Object
7 8 9 |
# File 'app/models/mission_control/web/route.rb', line 7 def application @application ||= MissionControl::Web::Application.find!(application_id) end |
#disabled? ⇒ Boolean
11 12 13 |
# File 'app/models/mission_control/web/route.rb', line 11 def disabled? !enabled? end |