aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/dashboards_controller.rb
diff options
context:
space:
mode:
authorRobert2017-10-02 10:51:34 +0200
committerRobert2017-10-02 10:51:34 +0200
commit8f11900221be0837e0ee9717746cd4d952a64794 (patch)
tree50654b0b7f2bf29bd8853cac425e5394570509ce /app/controllers/dashboards_controller.rb
parent6898e54925c93cf44e7d5581d2213d4d3a9ab3c8 (diff)
parenteaf5b3fd868d68856ef94e18656dac39096d866b (diff)
downloadchouette-core-8f11900221be0837e0ee9717746cd4d952a64794.tar.bz2
Merge branch 'master' of github.com:af83/stif-boiv
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