@@ -596,7 +596,7 module ApplicationHelper | |||
|
596 | 596 | url_for(:only_path => only_path, :controller => 'wiki', :action => 'show', :project_id => link_project, :id => wiki_page_id, :anchor => anchor) |
|
597 | 597 | end |
|
598 | 598 | end |
|
599 |
link_to(title |
|
|
599 | link_to(title.present? ? title.html_safe : h(page), url, :class => ('wiki-page' + (wiki_page ? '' : ' new'))) | |
|
600 | 600 | else |
|
601 | 601 | # project or wiki doesn't exist |
|
602 | 602 | all.html_safe |
General Comments 0
You need to be logged in to leave comments.
Login now