mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 06:15:59 +01:00
Patch by @jkraemer. git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
360 B
Ruby
13 lines
360 B
Ruby
Redmine::Plugin.register :redmine_test_plugin_foo do
|
|
name 'Test plugin redmine_test_plugin_foo'
|
|
author 'Author name'
|
|
description 'This is a plugin for Redmine test'
|
|
version '0.0.1'
|
|
end
|
|
|
|
Redmine::Acts::Attachable::ObjectTypeConstraint.register_object_type('plugin_articles')
|
|
|
|
Pathname(__dir__).glob("app/**/*.rb").sort.each do |path|
|
|
require path
|
|
end
|