fix wiki page links

This commit is contained in:
albert
2013-02-17 16:02:47 -05:00
parent ae2132a511
commit f4a4c9c55b

View File

@@ -105,7 +105,7 @@ private
if categories[tag] == Tag.categories.artist
html << %{<a class="wiki-link" href="/artists/show_or_new?name=#{u(tag)}">?</a> }
else
html << %{<a class="wiki-link" href="/wiki_pages?title=#{u(tag)}">?</a> }
html << %{<a class="wiki-link" href="/wiki_pages/show_or_new?title=#{u(tag)}">?</a> }
end
if CurrentUser.user.is_privileged? && is_index?(template) && current_query.present?