diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-07-17 14:30:06 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-07-17 14:30:06 +0300 |
commit | 99463287618b61f76d157b572a670e9237d80a43 (patch) | |
tree | 308986d4f6782b17d73565201782db3d024a8834 /app/views/projects/imports | |
parent | 9c1a3bce9d57cb03f86c9c1abc7f2a7c78d29f37 (diff) |
Remove sanitize_repo_path
This method is unneeded given its been pushed to Gitaly, through
https://gitlab.com/gitlab-org/gitaly/merge_requests/780
Closes https://gitlab.com/gitlab-org/gitaly/issues/1235
Diffstat (limited to 'app/views/projects/imports')
-rw-r--r-- | app/views/projects/imports/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/imports/new.html.haml b/app/views/projects/imports/new.html.haml index 16c4f21279d..ca82054d799 100644 --- a/app/views/projects/imports/new.html.haml +++ b/app/views/projects/imports/new.html.haml @@ -10,7 +10,7 @@ .card-body %pre :preserve - #{h(sanitize_repo_path(@project, @project.import_error))} + #{h(@project.import_error)} = form_for @project, url: project_import_path(@project), method: :post do |f| = render "shared/import_form", f: f |