Class: Plum::Cp::DashboardController

Inherits:
BaseController show all
Defined in:
app/controllers/plum/cp/dashboard_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



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