Module: Skyline::Referable
- Defined in:
- lib/skyline/referable.rb
Overview
Use this module in all models that have references to MediaFiles/Pages etc via WYSWIWYG-editors It adds the class method ‘referable_field`. With ClassMethods#referable_field you can use any text/string database field to have links/images that will refer correctly to their respective targets through RefObject
Defined Under Namespace
Modules: ClassMethods