Closed lukearndt closed 8 years ago
I've put the view_model method on Node just so that if we call Guide::NodeView#view_model, it won't explode in a big mess if it's not a Guide::Document. I don't see a need for view models on non-documents at this stage but better safe than sorry!
view_model
Node
Guide::NodeView#view_model
Guide::Document
:+1:
I've put the
view_model
method onNode
just so that if we callGuide::NodeView#view_model
, it won't explode in a big mess if it's not aGuide::Document
. I don't see a need for view models on non-documents at this stage but better safe than sorry!