Class: Spina::NavigationItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Spina::NavigationItem
- Defined in:
- app/models/spina/navigation_item.rb
Instance Method Summary collapse
Methods inherited from ApplicationRecord
Instance Method Details
#materialized_path ⇒ Object
34 35 36 37 |
# File 'app/models/spina/navigation_item.rb', line 34 def materialized_path return url if url_kind? page&.materialized_path end |
#menu_title ⇒ Object
29 30 31 32 |
# File 'app/models/spina/navigation_item.rb', line 29 def return url_title if url_kind? page&. end |