Class: ContentProviders::AccomplishedActivityIndexProvider
- Inherits:
-
BitCore::ContentProvider
- Object
- BitCore::ContentProvider
- ContentProviders::AccomplishedActivityIndexProvider
- Defined in:
- app/models/content_providers/accomplished_activity_index_provider.rb
Overview
Provides a view of completed Activities during the Participant“s most recent AwakePeriod.
Instance Method Summary collapse
Instance Method Details
#render_current(options) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'app/models/content_providers/accomplished_activity_index_provider.rb', line 6 def render_current() .view_context.render( template: "think_feel_do_engine/activities/accomplished_index", locals: { activities: .participant .recent_accomplished_activities .order(start_time: :asc) } ) end |
#show_nav_link? ⇒ Boolean
18 19 20 |
# File 'app/models/content_providers/accomplished_activity_index_provider.rb', line 18 def show_nav_link? true end |