lib/cuba_api/current_user.rb~ in cuba-api-0.5.0 vs lib/cuba_api/current_user.rb~ in cuba-api-0.5.1

- old
+ new

@@ -141,10 +141,10 @@ def accept( obj, mime ) if self.class[ :mimes ].key?( mime ) res[ "Content-Type" ] = mime + "; charset=utf-8" obj.send self.class[ :mimes ][ mime ] else - head 404 + no_body 404 nil end end private :accept