fix feed JSON rendering
This commit is contained in:
1 parent
937d2eea47
commit
79c96cffcd
1 file changed
+1
-1
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user