Class: Node

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Releaf::Content::Node
Defined in:
lib/generators/dummy/templates/models/node.rb,
lib/generators/releaf/templates/models/node.rb

Instance Method Summary collapse

Instance Method Details

#locale_selection_enabled?Boolean

Returns:

  • (Boolean)

7
8
9
# File 'lib/generators/dummy/templates/models/node.rb', line 7

def locale_selection_enabled?
  root?
end