From 02c91ac4f6a75e346f7a37f3de4ac4a635bb2266 Mon Sep 17 00:00:00 2001 From: Jan Schulz-Hofen Date: Wed, 5 Feb 2014 14:02:29 +0700 Subject: [PATCH 6/6] add link to add a new wiki page to "new object" menu. --- lib/redmine.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/redmine.rb b/lib/redmine.rb index 56b578a..fc166b6 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -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' } -- 2.7.2