Class: NavigationHeader
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- NavigationHeader
- Includes:
- NavigationPermissions
- Defined in:
- app/models/navigation_header.rb
Instance Method Summary collapse
Methods included from NavigationPermissions
#allow!, #allowed_to, #allows?, #disallow!
Methods inherited from ApplicationRecord
define_decrypted_attribute, define_decrypted_attributes, #errors_in_bullet_points, primary_connection, special_connection
Instance Method Details
#items_for_configuration(configuration) ⇒ Object
14 15 16 17 |
# File 'app/models/navigation_header.rb', line 14 def items_for_configuration(configuration) = configuration..pluck(:id) .where(id: ).order(:order) end |