Class: Bumbleworks::Gui::DashboardsController
- Inherits:
-
ApplicationController
- Object
- Rory::Controller
- ApplicationController
- Bumbleworks::Gui::DashboardsController
- Defined in:
- lib/bumbleworks/gui/controllers/dashboards_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#set_title ⇒ Object
12 13 14 |
# File 'lib/bumbleworks/gui/controllers/dashboards_controller.rb', line 12 def set_title expose :title => 'Dashboard' end |
#show ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bumbleworks/gui/controllers/dashboards_controller.rb', line 4 def show expose({ :entity_classes => Bumbleworks.entity_classes, :recent_processes => Bumbleworks::Process.all(:reverse => true, :limit => 3), :recent_tasks => Bumbleworks::Task.first(3) }) end |