return m('.container', [
m('p', [
'You can log in to multiple Arvados sites here, then use the ',
- m('a[href="/multisite"]', 'multi-site search'),
+ m('a[href="/search"]', 'multi-site search'),
' page to search collections and projects on all sites at once.',
]),
m('table.table.table-condensed.table-hover', [
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
end
end
- def multisite
- # Legacy URL, redirect to new one.
- redirect_to multisite_path
- end
-
protected
def find_usable_token(token_list)
+++ /dev/null
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-class MultisiteController < ApplicationController
- skip_before_filter :find_object_by_uuid
-end
# SPDX-License-Identifier: AGPL-3.0
class SearchController < ApplicationController
+ skip_before_filter :ensure_arvados_api_exists
+
def find_objects_for_index
search_what = Group
if params[:project_uuid]
<%=
target = Rails.configuration.multi_site_search
if target == true
- target = {controller: 'multisite', action: 'search'}
+ target = {controller: 'search', action: 'index'}
end
link_to("Multi-site search", target, {class: 'btn btn-default'}) %>
</form>
post 'remove_selected_files', on: :member
get 'tags', on: :member
post 'save_tags', on: :member
- get 'multisite', on: :collection
+ get 'multisite', on: :collection, to: redirect('/search')
end
get('/collections/download/:uuid/:reader_token/*file' => 'collections#show_file',
format: false)
get '/tests/mithril', to: 'tests#mithril'
- get '/multisite', to: 'multisite#search'
-
get '/status', to: 'status#status'
# Send unroutable requests to an arbitrary controller