Merge branch '2640-folder-api' into 1970-folder-view
[arvados.git] / apps / workbench / app / controllers / sessions_controller.rb
index 7967111fff748717a0a47c8a2643c8722007587d..488c67c3c2e8b51cfb8990b9148d7b3b4d0a7f13 100644 (file)
@@ -1,5 +1,6 @@
 class SessionsController < ApplicationController
-  skip_around_filter :thread_with_api_token, :only => [:destroy, :index]
+  skip_around_filter :thread_with_mandatory_api_token, :only => [:destroy, :index]
+  skip_around_filter :thread_with_optional_api_token, :only => [:destroy, :index]
   skip_before_filter :find_object_by_uuid, :only => [:destroy, :index]
   def destroy
     session.clear