Add cards to SDG homepage

This commit is contained in:
Javi Martín
2021-01-13 14:44:55 +01:00
parent 5907ddf884
commit c3e60ff514
7 changed files with 37 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ class SDG::GoalsController < ApplicationController
def index
@goals = @goals.order(:code)
@phases = SDG::Phase.accessible_by(current_ability).order(:kind)
end
def show