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


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

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