Method: Frontline::Helpers#models
- Defined in:
- lib/frontline/helpers.rb
#models ⇒ Object
return the list of models for effective application
33 34 35 36 37 38 |
# File 'lib/frontline/helpers.rb', line 33 def models return MODELS[dst_path.root] if MODELS[dst_path.root] result = enginery_registry(:m) return MODELS[dst_path.root] = result if result.is_a?(Hash) result end |