14988: Updates *_filter callbacks to use the new *_action form.
[arvados.git] / apps / workbench / app / controllers / pipeline_instances_controller.rb
index 93bb86961386c1e9a299ec93057b2c046b1080bc..ab0e55b22a1a7c73aac99dcc5411641c7ada20a3 100644 (file)
@@ -3,9 +3,9 @@
 # SPDX-License-Identifier: AGPL-3.0
 
 class PipelineInstancesController < ApplicationController
-  skip_before_filter :find_object_by_uuid, only: :compare
-  before_filter :find_objects_by_uuid, only: :compare
-  skip_around_filter :require_thread_api_token, if: proc { |ctrl|
+  skip_before_action :find_object_by_uuid, only: :compare
+  before_action :find_objects_by_uuid, only: :compare
+  skip_around_action :require_thread_api_token, if: proc { |ctrl|
     Rails.configuration.anonymous_user_token and
     'show' == ctrl.action_name
   }