Browse Source

Add link to add a new wiki page to "new object" menu (#15880).

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15506 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 8 years ago
parent
commit
cec8fe4cfa
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/redmine.rb

+ 2
- 0
lib/redmine.rb View File

@@ -241,6 +241,8 @@ Redmine::MenuManager.map :project_menu do |menu|
:parent => :new_object
menu.push :new_document, {:controller => 'documents', :action => 'new'}, :param => :project_id, :caption => :label_document_new,
:parent => :new_object
menu.push :new_wiki_page, {:controller => 'wiki', :action => 'new'}, :param => :project_id, :caption => :label_wiki_page_new,
:parent => :new_object
menu.push :new_file, {:controller => 'files', :action => 'new'}, :param => :project_id, :caption => :label_attachment_new,
:parent => :new_object
menu.push :overview, { :controller => 'projects', :action => 'show' }

Loading…
Cancel
Save