forked from dro123/redmine_meeting_room_calendar
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinit.rb
22 lines (15 loc) · 811 Bytes
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require File.expand_path('../lib/rrbs_projects_helper_patch', __FILE__)
Redmine::Plugin.register :redmine_resource_booking_system do
name 'Redmine Resource Booking System plugin'
author 'QBurst, Tobias Droste, Akinori Iwasaki'
description 'Provides a resource booking system with javascript fullcalendar'
version '1.1.0'
requires_redmine version_or_higher: '4.0.0'
url 'https://github.com/aki360P/redmine_resource_booking_system'
project_module :redmine_resource_booking_system do
permission :rrbs_booking, :rrbs_bookings => 'index'
permission :rrbs_setting, :rrbs_settings => 'edit'
end
# add tab - project module
menu :project_menu, :rrbs_bookings, {:controller => 'rrbs_bookings', :action => 'index' }, :caption => :label_rrbs_booking, :param => :project_id
end