X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5c724cffa06b5c5a809e0f6cce194a3f012c7ba3..1471ad4b235e168ccee4fa351b0025b2b380d7ac:/apps/workbench/app/controllers/collections_controller.rb diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb index 779d95c45b..0a7f22b957 100644 --- a/apps/workbench/app/controllers/collections_controller.rb +++ b/apps/workbench/app/controllers/collections_controller.rb @@ -16,7 +16,7 @@ class CollectionsController < ApplicationController skip_around_filter(:require_thread_api_token, only: [:show_file, :show_file_links]) skip_before_filter(:find_object_by_uuid, - only: [:provenance, :show_file, :show_file_links, :multisite]) + only: [:provenance, :show_file, :show_file_links]) # We depend on show_file to display the user agreement: skip_before_filter :check_user_agreements, only: :show_file skip_before_filter :check_user_profile, only: :show_file @@ -300,30 +300,6 @@ class CollectionsController < ApplicationController end end - def tags - render - end - - def save_tags - tags_param = params['tag_data'] - if tags_param - if tags_param.is_a?(String) && tags_param == "empty" - tags = {} - else - tags = tags_param - end - end - - if tags - if @object.update_attributes properties: tags - @saved_tags = true - render - else - self.render_error status: 422 - end - end - end - protected def find_usable_token(token_list)