Project

General

Profile

Actions

Patch #5254

closed

How can I add a MenuItem in Redmine

Added by sean chan over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-07
Due date:
% Done:

0%

Estimated time:

Description

I am using Redmine in order to offer a quickview of how many people are online last 2 hours

I just want to add a menuItem to the project_menu,which I foundin "lib\redmine.rb",
first:
I added permissions like "
map.project_module :users do|map|
map.permission :view_users,{:users => [:index , :find_lasts ]}
"
second:
I pushed it into project_menu like "
menu.push :users,{ :controller => "users" , :action =>"index"}
"

third:
I registered the activity in the Activity.map like
"
activity.register :users

"

but I cant find the menuItem I was trying to add.Why?

thanks for help......

Actions

Also available in: Atom PDF