finish remove asset_path_icon whoops
This commit is contained in:
parent
df485002b1
commit
888edae6f6
1 changed files with 0 additions and 7 deletions
|
@ -13,11 +13,4 @@ class Metacode < ActiveRecord::Base
|
|||
return true if self.metacode_sets.include? metacode_set
|
||||
return false
|
||||
end
|
||||
|
||||
#output json with asset_paths merged in
|
||||
def as_json(options)
|
||||
json = super(options.merge!(methods: :asset_path_icon))
|
||||
json["icon"] = json["asset_path_icon"]
|
||||
json.except("asset_path_icon")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue