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