summaryrefslogtreecommitdiff
path: root/tools/communityauth/sample/ruby/init.rb
blob: 91030f69bd1f37ed3432e1aa98bbf743c73e6e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'redmine'
require 'dispatcher'

Dispatcher.to_prepare do
  require_dependency 'account_controller'

  AccountController.send(:include, RedminePgcommunityauth::AccountControllerPatch)
end

Redmine::Plugin.register :redmine_pgcommunityauth do
  name 'Redmine Pgcommunityauth plugin'
  author 'Alex Shulgin <ash@commandprompt.com>'
  description ''
  version '0.0.1'

  settings :default => {}, :partial => 'settings/redmine_pgcommunityauth_settings'
end