We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e363eda commit 109393aCopy full SHA for 109393a
app/models/publication_type.rb
@@ -181,13 +181,4 @@ def self.get_publication_type_id(bibtex_record)
181
other_type&.id
182
end
183
184
- begin
185
- type_registry.each_key do |title|
186
- define_singleton_method(title.gsub(/\s+/, '')) do
187
- find_by(key: type_registry[title]['key'])
188
- end
189
190
- rescue => e
191
- Rails.logger.error("Failed to load publication types: #{e.message}")
192
193
0 commit comments