diff options
| author | Xinhui | 2017-11-23 14:14:04 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-11-28 12:21:33 +0100 | 
| commit | 6820faf7849ff704c55cde29c8b2efc320ff63d7 (patch) | |
| tree | fca06b0663ff2150349cafe6fd5839d3ea7115af /app/controllers/dashboards_controller.rb | |
| parent | 1e61b1792c4c0be9e55b6469610fca982d8a9e54 (diff) | |
| download | chouette-core-6820faf7849ff704c55cde29c8b2efc320ff63d7.tar.bz2 | |
Replace pageheader by render partial
Diffstat (limited to 'app/controllers/dashboards_controller.rb')
| -rw-r--r-- | app/controllers/dashboards_controller.rb | 1 | 
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 | 
