app/helpers/dashboard_helper.rb in woople-theme-0.5.7 vs app/helpers/dashboard_helper.rb in woople-theme-0.5.8
- old
+ new
@@ -7,9 +7,14 @@
def essentials_section(presenter)
render partial: 'dashboard/essentials_section',
object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::EssentialsSectionPresenter)
end
+ def electives_section(presenter)
+ render partial: 'dashboard/electives_section',
+ object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::ElectivesSectionPresenter)
+ end
+
def completed_essentials(items)
collection = ThemePresentation.wrap_collection(items, WoopleTheme::Dashboard::CompletedEssentialPresenter)
render partial: 'dashboard/completed_essential', collection: collection
end