Acceptance tests for user

This commit is contained in:
2015-09-17 17:46:33 +02:00
parent 8e931cabd4
commit cb744943bd
35 changed files with 91 additions and 49 deletions
+1 -1
View File
@@ -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