lib/pakyow/presenter/renderer.rb in pakyow-presenter-1.0.0.rc3 vs lib/pakyow/presenter/renderer.rb in pakyow-presenter-1.0.0.rc4
- old
+ new
@@ -88,9 +88,10 @@
if composer.respond_to?(:post_process)
presenter_view = composer.post_process(presenter_view)
end
presenter.attach(presenter_view)
+ presenter_view.object.finalize_labels(keep: [:form, :endpoint_params])
presenter_view.deep_freeze
self.class.__presenter_views[presenter_view_key] = presenter_view
end