1. Wyświetlanie i edycja pola "source_file" w widoku ticketu.
[redakcja_redmine.git] / init.rb
1 require 'redmine'
2
3 # Patches to the Redmine core.
4 require 'dispatcher'
5  
6 Dispatcher.to_prepare :redmine_kanban do
7   require_dependency 'issue'
8   # Guards against including the module multiple time (like in tests)
9   # and registering multiple callbacks
10   unless Issue.included_modules.include? RedminePublications::IssuePatch
11     Issue.send(:include, RedminePublications::IssuePatch)
12   end
13 end
14
15 require_dependency 'issue_publication_hook'
16
17 Redmine::Plugin.register :redmine_publicatons do
18   name 'Publications managment plugin'
19   author 'Łukasz Rekucki'
20   description 'This plugn helps manage issues related to a publication.'
21   version '0.0.3'
22
23
24   requires_redmine :version_or_higher => '0.8.0'         
25
26 end
27