Create SDG stats page

This commit is contained in:
Senén Rodero Rodríguez
2021-01-21 14:56:30 +01:00
parent 4c2d918bb5
commit 9b2d349e21
9 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
class Admin::Stats::SDGComponent < ApplicationComponent
include Header
attr_reader :goals
def initialize(goals)
@goals = goals
end
private
def title
t("admin.stats.sdg.title")
end
end