aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/dashboards_controller.rb
diff options
context:
space:
mode:
authorXinhui2017-11-23 14:14:04 +0100
committerXinhui2017-11-28 12:21:33 +0100
commit6820faf7849ff704c55cde29c8b2efc320ff63d7 (patch)
treefca06b0663ff2150349cafe6fd5839d3ea7115af /app/controllers/dashboards_controller.rb
parent1e61b1792c4c0be9e55b6469610fca982d8a9e54 (diff)
downloadchouette-core-6820faf7849ff704c55cde29c8b2efc320ff63d7.tar.bz2
Replace pageheader by render partial
Diffstat (limited to 'app/controllers/dashboards_controller.rb')
-rw-r--r--app/controllers/dashboards_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/dashboards_controller.rb b/app/controllers/dashboards_controller.rb
index de5085f3e..c90d0c296 100644
--- a/app/controllers/dashboards_controller.rb
+++ b/app/controllers/dashboards_controller.rb
@@ -5,6 +5,7 @@
#
class DashboardsController < ChouetteController
respond_to :html, only: [:show]
+ defaults :resource_class => Dashboard
def show
@dashboard = Dashboard.create self