Module: Magic::Presentable

Includes:
Decoratable
Defined in:
app/models/concerns/magic/presentable.rb

Overview

This module includes ‘Magic::Decoratable` and allows a descendant to be decorated by presenters only. Presenter class is being inferred automatically.

Class Method Summary collapse

Class Method Details

.classesObject



11
12
13
14
15
# File 'app/models/concerns/magic/presentable.rb', line 11

def classes
	Magic.eager_load :models

	super
end