Class: Plum::Cp::DashboardController
- Inherits:
-
BaseController
- Object
- ApplicationController
- ApplicationController
- BaseController
- Plum::Cp::DashboardController
- Defined in:
- app/controllers/plum/cp/dashboard_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
4 5 6 7 |
# File 'app/controllers/plum/cp/dashboard_controller.rb', line 4 def show @content_types = ContentType.for_site(current_site) @recent_entries = Entry.for_site(current_site).includes(:content_type).order(updated_at: :desc).limit(10) end |