Class: Alchemy::Admin::Dashboard::Widgets::LockedPages

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/alchemy/admin/dashboard/widgets/locked_pages.rb

Instance Method Summary collapse

Constructor Details

#initializeLockedPages

Returns a new instance of LockedPages.



9
10
11
# File 'app/components/alchemy/admin/dashboard/widgets/locked_pages.rb', line 9

def initialize
  @all_locked_pages = Page.locked
end