app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-2.2.1 vs app/controllers/spotlight/pages_controller.rb in blacklight-spotlight-2.3.0

- old
+ new

@@ -109,9 +109,10 @@ @_prefixes ||= super + ['catalog'] end def undo_link return unless can? :manage, @page + view_context.link_to(t(:'spotlight.versions.undo'), revert_version_path(@page.versions.last), method: :post) end def undo_notice(key) view_context.safe_join([t(:"helpers.submit.page.#{key}", model: @page.class.model_name.human.downcase), undo_link], ' ')