lib/nanoc/base/views/item_rep_view.rb in nanoc-4.1.0rc1 vs lib/nanoc/base/views/item_rep_view.rb in nanoc-4.1.0rc2
- old
+ new
@@ -58,12 +58,12 @@
@item_rep.path(snapshot: snapshot)
end
# Returns the item that this item rep belongs to.
#
- # @return [Nanoc::ItemView]
+ # @return [Nanoc::ItemWithRepsView]
def item
- Nanoc::ItemView.new(@item_rep.item, @context)
+ Nanoc::ItemWithRepsView.new(@item_rep.item, @context)
end
# @api private
def raw_path(snapshot: :last)
Nanoc::Int::NotificationCenter.post(:visit_started, unwrap.item)