aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/dashboards_controller.rb
diff options
context:
space:
mode:
authorAlban Peignier2017-09-30 14:17:28 +0200
committerAlban Peignier2017-09-30 14:46:09 +0200
commitfda2b7b07349fd20cc70d68bf1544a7f51841f70 (patch)
tree87772ddf673bcee1861ad5d54d9b26cfaed7fea9 /app/controllers/dashboards_controller.rb
parent1ae15e06f2a56f9a83d670ad9c785a74cb6af43e (diff)
downloadchouette-core-fda2b7b07349fd20cc70d68bf1544a7f51841f70.tar.bz2
Create DashboardController with STIF implementation. Refs #4655
Diffstat (limited to 'app/controllers/dashboards_controller.rb')
-rw-r--r--app/controllers/dashboards_controller.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/dashboards_controller.rb b/app/controllers/dashboards_controller.rb
new file mode 100644
index 000000000..4c0042b67
--- /dev/null
+++ b/app/controllers/dashboards_controller.rb
@@ -0,0 +1,8 @@
+class DashboardsController < BreadcrumbController
+ respond_to :html, only: [:show]
+
+ def show
+ @dashboard = Dashboard.create self
+ end
+
+end