Acceptance tests for user
This commit is contained in:
@@ -59,7 +59,7 @@ private
|
||||
end
|
||||
|
||||
def _render_with_renderer_json(resource, options)
|
||||
return super if resource.is_a?(Hash)
|
||||
return super if resource.is_a?(Hash) or resource.is_a?(String)
|
||||
options[:serializer] ||= begin
|
||||
if resource.is_a?(SimplyStored::Couch)
|
||||
#infer based on controller path replacing actual controller part with resouce part /lists/:id/table
|
||||
|
||||
Reference in New Issue
Block a user