Class: IronAdmin::DashboardController

Inherits:
ApplicationController show all
Defined in:
app/controllers/iron_admin/dashboard_controller.rb

Overview

Controller for the admin dashboard.

Renders the configured dashboard class with widgets and metrics.

Instance Method Summary collapse

Instance Method Details

#indexvoid

This method returns an undefined value.

Renders the dashboard index page.



10
11
12
# File 'app/controllers/iron_admin/dashboard_controller.rb', line 10

def index
  @dashboard = IronAdmin.dashboard_class
end