projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4031: Improve provenance graph tests for readability, use fixtures instead of
[arvados.git]
/
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 263f67f94ef7e6f22cc0050d68a7104a96bb712c..4e0008d93cf63887926c7d3ef7907d4f1f377bd3 100644
(file)
--- a/
apps/workbench/app/controllers/collections_controller.rb
+++ b/
apps/workbench/app/controllers/collections_controller.rb
@@
-205,7
+205,7
@@
class CollectionsController < ApplicationController
return super if !@object
if current_user
if Keep::Locator.parse params["uuid"]
return super if !@object
if current_user
if Keep::Locator.parse params["uuid"]
- @same_pdh = Collection.filter([["portable_data_hash", "=", @object.portable_data_hash]])
+ @same_pdh = Collection.filter([["portable_data_hash", "=", @object.portable_data_hash]])
.limit(1000)
if @same_pdh.results.size == 1
redirect_to collection_path(@same_pdh[0]["uuid"])
return
if @same_pdh.results.size == 1
redirect_to collection_path(@same_pdh[0]["uuid"])
return