Change Retry link to point to the self service interface
- replaced
retrylink to/user/:user/retry/<%= test.run_id %>inhistory.erb. - added redirect in GET
/:user/retry/:run_idto itself but with @user.username in place of:user. - removed before block in
api.rbcontainingread_request_usersince user is authenticated only using key inapi.rb. - changed GET
/api/v1/retry/:run_idto redirect directly to/:user/retry/:run_id. - added and updated tests in
spec/debci/api_spec.rbandspec/debci/self_service_spec.rb.
Closes: #179 (closed)
Edited by Pavit Kaur