Files
postgres-web/tools/communityauth/sample/ruby/init.rb
Magnus Hagander 7970aaf38c Add redmine community auth plugin
Written by Alex Shulgin (ash at commandprompt.com)
2012-05-25 13:10:58 +02:00

18 lines
460 B
Ruby

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