Module: PagesCore::PageModel::Status::ClassMethods

Defined in:
app/models/concerns/pages_core/page_model/status.rb

Instance Method Summary collapse

Instance Method Details

#status_labelsObject



9
10
11
12
13
14
15
16
17
# File 'app/models/concerns/pages_core/page_model/status.rb', line 9

def status_labels
  {
    0 => "Draft",
    1 => "Reviewed",
    2 => "Published",
    3 => "Hidden",
    4 => "Deleted"
  }
end