Class: Dashboard::ApplicationController
- Inherits:
-
Underworld::Dashboard::ApplicationController
- Object
- ActionController::Base
- Underworld::ApplicationController
- Underworld::Dashboard::ApplicationController
- Dashboard::ApplicationController
- Defined in:
- lib/generators/underworld/templates/dashboard_controller.rb
Direct Known Subclasses
Underworld::Dashboard::GroupsController, Underworld::Dashboard::UserMessagesController, Underworld::Dashboard::UsersController, Underworld::DashboardController
Instance Attribute Summary
Attributes included from Underworld::Dashboard::DSL
Instance Method Summary collapse
Methods included from Underworld::Dashboard::Sections::ResourceDestroy
Methods included from Underworld::Dashboard::Sections::ResourceShow
Methods included from Underworld::Dashboard::Sections::ResourceCreate
Methods included from Underworld::Dashboard::Sections::ResourcesIndex
Methods included from Underworld::Dashboard::Sections::Resource
Methods inherited from Underworld::ApplicationController
Instance Method Details
#setup_sidebar ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/generators/underworld/templates/dashboard_controller.rb', line 3 def @sidebar = (t('underworld.engine_name')) do |s| s.underworld_entries # Put your sidebar entries in here like this: # # s.menu(title, icon: 'fa fa-book') do # s.item(title, # url: main_app.dashboard_books_path, # model: 'Book') # end # # For more information take a look at `sidebar` section of Underworld guides. end end |