gluttonberg/app/models/page.rb
# Returns the localized navigation label, or falls back to the page for a
# the default.
Returns the localized navigation label, or falls back to the page for a
the default.
Returns the localized navigation label or falls back to the page for a the default .
def nav_label
      if current_localization.navigation_label.blank?
        if navigation_label.blank?
          name
        else
          navigation_label
        end
      else
        current_localization.navigation_label
      end
    end
def nav_label if current_localization . navigation_label . blank? if navigation_label . blank? name else navigation_label end else current_localization . navigation_label end end
Returns the localized navigation label, or falls back to the page for a
the default.
Returns the localized navigation label or falls back to the page for a the default .