aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/dashboards_controller.rb
diff options
context:
space:
mode:
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