app/helpers/dashboard_helper.rb in woople-theme-0.5.13 vs app/helpers/dashboard_helper.rb in woople-theme-0.5.14

- old
+ new

@@ -20,9 +20,14 @@ def electives_section(presenter) render partial: 'dashboard/electives_section', object: ThemePresentation.wrap(presenter, WoopleTheme::Dashboard::ElectivesSectionPresenter) end + def electives_points(points_earned, points_total) + render partial: 'dashboard/points', + object: ThemePresentation.wrap({ earned: points_earned, total: points_total }, WoopleTheme::Dashboard::PointsPresenter) + end + def electives_history(items) render_collection_partial(items, WoopleTheme::Dashboard::ElectiveHistoryPresenter, 'woople-theme/content_item') end def electives_exceptions(items)