summaryrefslogtreecommitdiffstats
path: root/app/views/wiki/_content.html.erb
blob: 0e747799db7dc31952a7ca369be6fd36594b33eb (plain)
1
2
3
4
<div class="wiki wiki-page">
  <%= textilizable content, :text, :attachments => content.page.attachments,
        :edit_section_links => (content.is_a?(WikiContent) && @editable && User.current.allowed_to?(:edit_wiki_pages, @page.project) && {:controller => 'wiki', :action => 'edit', :project_id => @page.project, :id => @page.title}) %>
</div>