/wiki_page_versions/diff: fix regression in 5a790ee25.

This commit is contained in:
evazion
2021-03-12 23:30:55 -06:00
parent d7a32ca930
commit 4878ecffe8

View File

@@ -4,7 +4,7 @@
<%= render "wiki_pages/sidebar" %>
<% content_for(:content) do %>
<h1>Wiki Page Version Comparison: <%= link_to @thispage.title, wiki_page_versions_path(search: { wiki_page_id: @thispage.wiki_page_id }, type: params[:type], anchor: "wiki-page-version-#{@thispage.id}"), class: "tag-type-#{@thispage.wiki_page.tag.category}" %></h1>
<h1>Wiki Page Version Comparison: <%= link_to @thispage.title, wiki_page_versions_path(search: { wiki_page_id: @thispage.wiki_page_id }, type: params[:type], anchor: "wiki-page-version-#{@thispage.id}"), class: "tag-type-#{@thispage.wiki_page.tag&.category.to_i}" %></h1>
<% if params[:type].present? %>
<%= render "versions/types" %>