Module: Backend
- Extended by:
- Dry::Configurable
- Defined in:
- lib/backend.rb,
lib/backend/engine.rb,
lib/backend/version.rb,
lib/backend/resource.rb,
lib/backend/field/base.rb,
lib/backend/field/editor.rb,
lib/backend/field/string.rb
Defined Under Namespace
Modules: Field Classes: Engine, Resource
Constant Summary collapse
- VERSION =
"0.0.0"
Class Method Summary collapse
Class Method Details
.resources ⇒ Object
21 22 23 24 25 26 27 28 29 |
# File 'lib/backend.rb', line 21 def resources # Force eager load of all resources. # Todo: this could be changed to a # script that requires all files in app/backend. Rails.application.eager_load! # that has inherited from Backend::Resource. Backend::Resource.descendants end |