Module: HashBrowns::RelationsHelpers
- Defined in:
- lib/hashbrowns/helpers/relations_helpers.rb
Instance Method Summary collapse
Instance Method Details
#parent_setter(child, parent) ⇒ Object
4 5 6 7 |
# File 'lib/hashbrowns/helpers/relations_helpers.rb', line 4 def parent_setter(child, parent) return parent if HashBrowns.conf.parent_overrides.include?(parent) return child end |