diff --git a/app/controllers/admin/dashboard_controller.rb b/app/controllers/admin/dashboard_controller.rb
new file mode 100644
index 000000000..697546889
--- /dev/null
+++ b/app/controllers/admin/dashboard_controller.rb
@@ -0,0 +1,6 @@
+class Admin::DashboardController < ApplicationController
+
+ def index
+ end
+
+end
diff --git a/app/controllers/moderation/dashboard_controller.rb b/app/controllers/moderation/dashboard_controller.rb
new file mode 100644
index 000000000..50491e4e6
--- /dev/null
+++ b/app/controllers/moderation/dashboard_controller.rb
@@ -0,0 +1,6 @@
+class Moderation::DashboardController < ApplicationController
+
+ def index
+ end
+
+end
diff --git a/app/views/admin/dashboard/index.html.erb b/app/views/admin/dashboard/index.html.erb
new file mode 100644
index 000000000..ffc8a281a
--- /dev/null
+++ b/app/views/admin/dashboard/index.html.erb
@@ -0,0 +1 @@
+
<%= t("admin.dashboard.index.title") %>
diff --git a/app/views/moderation/dashboard/index.html.erb b/app/views/moderation/dashboard/index.html.erb
new file mode 100644
index 000000000..16eb4508f
--- /dev/null
+++ b/app/views/moderation/dashboard/index.html.erb
@@ -0,0 +1 @@
+<%= t("moderation.dashboard.index.title") %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 7fdf7a214..fbb77d5a4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -11,6 +11,14 @@ en:
open_city_slogan: So the citizens can decide what kind of city they want.
create_debate: Create a debate
my_account_link: My account
+ admin:
+ dashboard:
+ index:
+ title: Administration
+ moderation:
+ dashboard:
+ index:
+ title: Moderation
debates:
index:
create_debate: Create a debate
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 9bbdde6b6..c53d01547 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -11,6 +11,14 @@ es:
open_city_slogan: Para que todos los madrileños decidamos que ciudad queremos tener.
create_debate: Crea un debate
my_account_link: Mi cuenta
+ admin:
+ dashboard:
+ index:
+ title: Administración
+ moderation:
+ dashboard:
+ index:
+ title: Moderación
debates:
index:
create_debate: Crea un debate
diff --git a/config/routes.rb b/config/routes.rb
index 73a77f60e..74179ba2a 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -17,11 +17,18 @@ Rails.application.routes.draw do
post :vote
end
end
-
end
resource :account, controller: "account", only: [:show, :update]
+ namespace :admin do
+ root to: "dashboard#index"
+ end
+
+ namespace :moderation do
+ root to: "dashboard#index"
+ end
+
# Example of regular route:
# get 'products/:id' => 'catalog#view'