Mercurial > hg > soundsoftware-site
changeset 703:0435cf085f28 feature_36
Merge
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Mon, 19 Sep 2011 17:00:58 +0100 |
parents | 3eb64cb3c7ac (current diff) 4903d6131c08 (diff) |
children | b1fa2f0ac9d8 0a34c4cb73d5 |
files | |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Mon Sep 19 17:00:35 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Mon Sep 19 17:00:58 2011 +0100 @@ -1,7 +1,5 @@ class BibtexEntryType < ActiveRecord::Base - @@all_fields = [ "booktitle", "editor", "publisher", "chapter", "pages", "volume", "series", "address", "edition", "month", "year", "type", "note", "number", "journal", "howpublished", "key", "school" ] - @@fields = Hash['article', ['journal', 'year', 'volume', 'number', 'pages', 'month', 'note' ], 'book' , [ 'editor', 'publisher', 'volume', 'series', 'address', 'edition', 'month', 'year', 'note' ], 'booklet' , [ 'howpublished', 'address', 'year', 'month', 'note', 'key' ], @@ -28,8 +26,4 @@ def self.fields (type) @@fields[ self.find(type).name ] end - - def self.all_fields - @@all_fields - end end