projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Render collection provenance graph top-down like other graphs.
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
user_agreements_controller.rb
diff --git
a/apps/workbench/app/controllers/user_agreements_controller.rb
b/apps/workbench/app/controllers/user_agreements_controller.rb
index 8dd34b1957d922e439c80d48ebcc19b3100674f1..6ab8ae215f488888b04bcb2362f52596e26603f7 100644
(file)
--- a/
apps/workbench/app/controllers/user_agreements_controller.rb
+++ b/
apps/workbench/app/controllers/user_agreements_controller.rb
@@
-1,11
+1,14
@@
class UserAgreementsController < ApplicationController
class UserAgreementsController < ApplicationController
+ skip_before_filter :check_user_agreements
+ skip_before_filter :find_object_by_uuid
+
def model_class
Collection
end
def sign
params[:checked].each do |checked|
def model_class
Collection
end
def sign
params[:checked].each do |checked|
- if r = checked.match(/^([0-9a-f]+)/)
+ if r = checked.match(/^([0-9a-f]+
[^\/]*
)/)
UserAgreement.sign uuid: r[1]
end
end
UserAgreement.sign uuid: r[1]
end
end