forked from scrum2b/scrum2b
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.rb
20 lines (18 loc) · 780 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'redmine'
Redmine::Plugin.register :scrum2b do
name 'Scrum2B Plugin'
author 'Scrum2B'
description %Q{A scrum tool for team to work:
- Scrum board
- Customize views
}
version '0.1'
url 'https://github.com/scrum2b/scrum2b'
author_url 'http://scrum2b.com'
settings :default => {'status_no_start'=> {}, 'status_inprogress' => {}, 'status_completed' => {}, 'status_closed' => {} }, :partial => 'settings/scrum2b'
project_module :scrum2b do
permission :view_issue, :s2b_lists => :index
permission :view_issue, :s2b_boards => :index
end
menu :project_menu, :s2b_lists, { :controller => :s2b_lists, :action => :index }, :caption => :label_scrum2b, :after => :activity, :param => :project_id
end