Fix language field frontend
This commit is contained in:
parent
1e306cf6b1
commit
fb265947d0
|
@ -41,8 +41,6 @@ class Patent
|
|||
|
||||
def get_plugin_field_data(field)
|
||||
case field
|
||||
when "language"
|
||||
value = I18n.t(self.language) rescue ""
|
||||
when "file"
|
||||
files = []
|
||||
self.patent_files.each do |patent_file|
|
||||
|
|
Loading…
Reference in New Issue