Add empty SDG index

This commit is contained in:
Javi Martín
2020-12-19 14:11:37 +01:00
parent 46e9d2e5a9
commit de4be15a8d
20 changed files with 72 additions and 9 deletions

View File

@@ -251,6 +251,7 @@ en:
other: You have %{count} new notifications
notifications: Notifications
no_notifications: "You don't have new notifications"
sdg: "SDG"
notifications:
index:
empty_notifications: You don't have new notifications.

View File

@@ -251,6 +251,7 @@ es:
other: Tienes %{count} notificaciones nuevas
notifications: Notificaciones
no_notifications: "No tienes notificaciones nuevas"
sdg: "ODS"
notifications:
index:
empty_notifications: No tienes notificaciones nuevas.

View File

@@ -21,6 +21,7 @@ Rails.application.routes.draw do
draw :poll
draw :proposal
draw :related_content
draw :sdg
draw :sdg_management
draw :tag
draw :user

3
config/routes/sdg.rb Normal file
View File

@@ -0,0 +1,3 @@
namespace :sdg do
resources :goals, only: :index
end