mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
Replace render text with render plain for rails 5.1
This commit is contained in:
@@ -8,7 +8,7 @@ describe Api::BaseController do
|
||||
skip_authorization_check only: :index
|
||||
|
||||
def index
|
||||
render text: { "products" => [] }.to_json
|
||||
render plain: { "products" => [] }.to_json
|
||||
end
|
||||
|
||||
def spree_current_user; end
|
||||
|
||||
Reference in New Issue
Block a user