Module: ThinkFeelDoEngine::Coach::MessagesHelper
- Defined in:
- app/helpers/think_feel_do_engine/coach/messages_helper.rb
Overview
Provides helpers for coach message composition.
Instance Method Summary collapse
-
#options_for_site_link_select ⇒ Object
Returns grouped options for selecting a section of the site.
Instance Method Details
#options_for_site_link_select ⇒ Object
Returns grouped options for selecting a section of the site.
7 8 9 10 11 12 13 14 15 16 17 |
# File 'app/helpers/think_feel_do_engine/coach/messages_helper.rb', line 7 def tasks = @group.tasks = tasks.map do |task| content_module = BitCore::ContentModule .find(task.bit_core_content_module_id) title = content_module.title [title, navigator_location_path(module_id: content_module.id)] end () end |