Commit 1725973a authored by Bruno Michel's avatar Bruno Michel

Add a link to edit wiki page

parent b5656ba9
= article_for wiki_page do |c|
- c.title = "#{link_to "Wiki", "/wiki"} #{link_to wiki_page.title, wiki_page}".html_safe
- c.body = sanitize(wiki_page.body)
- if current_account && current_account.can_update?(wiki_page)
- c.actions = link_to("Modifier", "/wiki/#{wiki_page.to_param}/modifier", :class => 'action')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment