fix feed JSON rendering
This commit is contained in:
parent
937d2eea47
commit
79c96cffcd
@ -119,7 +119,7 @@ class Feed < ActiveRecord::Base
|
|||||||
|
|
||||||
# custom json output
|
# custom json output
|
||||||
def as_json(options = {})
|
def as_json(options = {})
|
||||||
super(Feed.public_options)
|
super(Feed.public_options.merge(options))
|
||||||
end
|
end
|
||||||
|
|
||||||
# check if a field value is a number
|
# check if a field value is a number
|
||||||
|
Loading…
Reference in New Issue
Block a user