lib/lookbook/engine.rb in lookbook-2.0.0.rc.2 vs lib/lookbook/engine.rb in lookbook-2.0.0.rc.3
- old
+ new
@@ -199,11 +199,9 @@
def previews
@_previews ||= PreviewCollection.new
end
def preview_controller
- return @_preview_controller if @_preview_controller
-
@_preview_controller = opts.preview_controller.constantize
@_preview_controller.include PreviewControllerActions
end
def load_previews(changes = nil)