blob: c90d0c2967af3b3fb9c2697eca1a30d192005bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#
# 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 < ChouetteController
respond_to :html, only: [:show]
defaults :resource_class => Dashboard
def show
@dashboard = Dashboard.create self
end
end
|