Wiki: allows single section edit (#2222).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2011-11-18 16:25:00 +00:00
1 parent b38dc9a301
commit 6fc245327c
55 files changed
+440 -41

No files matched your search

+3 -2
View File
@@ -1,3 +1,4 @@
<div class="wiki">
<%= textilizable content, :text, :attachments => content.page.attachments %>
<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>