5737: Merge branch 'master' into 5737-ruby231
[arvados.git] / services / api / app / controllers / application_controller.rb
index 776f7e190e06ad0a486dad78c04affe84493175a..4e3b5b8fd860926969db22fb2b946119e65a8f89 100644 (file)
@@ -59,6 +59,18 @@ class ApplicationController < ActionController::Base
                 :with => :render_not_found)
   end
 
+  def initialize *args
+    super
+    @object = nil
+    @objects = nil
+    @offset = nil
+    @limit = nil
+    @select = nil
+    @distinct = nil
+    @response_resource_name = nil
+    @attrs = nil
+  end
+
   def default_url_options
     if Rails.configuration.host
       {:host => Rails.configuration.host}