Create SDG stats page
This commit is contained in:
15
app/components/admin/stats/sdg_component.rb
Normal file
15
app/components/admin/stats/sdg_component.rb
Normal 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
|
||||
Reference in New Issue
Block a user