Class: Workarea::Navigation::Menu

Inherits:
Object
  • Object
show all
Includes:
ApplicationDocument, Contentable, Ordering, Releasable
Defined in:
app/models/workarea/navigation/menu.rb

Instance Method Summary collapse

Methods included from Ordering

#higher_siblings, #lower_siblings

Methods included from Releasable

#activates_with_current_release?, #releasable?, #release_changes, #save_changeset, #skip_changeset

Methods included from ApplicationDocument

#releasable?

Methods included from Sidekiq::Callbacks

assert_valid_config!, async, disable, enable, inline, #run_callbacks

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'app/models/workarea/navigation/menu.rb', line 19

def active?
  super && (taxon.blank? || taxon.active?)
end