-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathinit.rb
More file actions
executable file
·18 lines (16 loc) · 792 Bytes
/
init.rb
File metadata and controls
executable file
·18 lines (16 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ActionDispatch::Callbacks.to_prepare do
require 'msproject_import'
end
Redmine::Plugin.register :msproject_import do
name 'Msproject Import plugin'
author 'Thomas Koch'
description 'This is a plugin for Redmine to import xml-exported date from MS Project'
version '0.6'
url 'https://github.com/braini75/msproject_import.git'
author_url 'https://github.com/braini75'
settings :default => {'tracker_default' => 2}, :partial => 'settings/msproject_import'
project_module :msproject_import do
permission :msproject_import, { :msproj_imp => [:upload, :import, :analyze, :run, :import_results]}
end
menu :project_menu, :msproject_import, { :controller => 'msproj_imp', :action => 'upload' }, :caption => :menu_caption, :after => :settings, :param => :project_id
end