Module: MissionControl::Web::ApplicationsHelper
- Defined in:
- app/helpers/mission_control/web/applications_helper.rb
Instance Method Summary collapse
Instance Method Details
#selectable_applications ⇒ Object
2 3 4 |
# File 'app/helpers/mission_control/web/applications_helper.rb', line 2 def selectable_applications MissionControl::Web::Application.all.reject { |app| selected_application?(app) } end |
#selected_application?(application) ⇒ Boolean
6 7 8 |
# File 'app/helpers/mission_control/web/applications_helper.rb', line 6 def selected_application?(application) MissionControl::Web::Current.application.id == application.id end |