aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/dashboards_controller.rb
diff options
context:
space:
mode:
authorLuc Donnet2017-10-16 23:52:06 +0200
committerLuc Donnet2017-10-16 23:52:06 +0200
commitf480ad0739e5c0ec2c0c8bb890344b9c4777ba35 (patch)
treea19bc6b43449b8b978a53c33476fb3eb571d4dda /app/controllers/dashboards_controller.rb
parentb611a84ed724036c4929bd4c3eaa7e23ea314f45 (diff)
parent51a1ea5b141032121913f807a162d305828bec54 (diff)
downloadchouette-core-f480ad0739e5c0ec2c0c8bb890344b9c4777ba35.tar.bz2
Merge branch 'master' into staging
Diffstat (limited to 'app/controllers/dashboards_controller.rb')
-rw-r--r--app/controllers/dashboards_controller.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/dashboards_controller.rb b/app/controllers/dashboards_controller.rb
new file mode 100644
index 000000000..2585dafca
--- /dev/null
+++ b/app/controllers/dashboards_controller.rb
@@ -0,0 +1,13 @@
+#
+# If you changed the default Dashboard implementation (see Dashboard),
+# this controller will use a custom partial like
+# custom/dashboards/_dashboard.html.slim for Custom::Dashboard
+#
+class DashboardsController < BreadcrumbController
+ respond_to :html, only: [:show]
+
+ def show
+ @dashboard = Dashboard.create self
+ end
+
+end