Revision 454:2f1a308c4c11 vendor/plugins/redmine_bibliography/lib/bibliography
| vendor/plugins/redmine_bibliography/lib/bibliography/project_publications_patch.rb | ||
|---|---|---|
| 1 |
require_dependency 'project' |
|
| 2 |
|
|
| 3 |
module Bibliography |
|
| 4 |
module ProjectPublicationsPatch |
|
| 5 |
def self.included(base) |
|
| 6 |
base.class_eval do |
|
| 7 |
has_and_belongs_to_many :publications |
|
| 8 |
end |
|
| 9 |
end |
|
| 10 |
end #ProjectPublicationsPatch |
|
| 11 |
end #RedmineBibliography |
|
Also available in: Unified diff