/wiki_page_versions/diff: fix regression in 5a790ee25.
This commit is contained in:
@@ -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" %>
|
||||
|
||||
Reference in New Issue
Block a user