Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-07-25 14:05:40 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-07-25 14:05:40 +0300
commitcfefab3259e41669d4326f48f79a9d168f94249f (patch)
tree1af271ae553ae1d66cc7af0b219020c64504f7f2 /app/helpers/mirror_helper.rb
parente36f49fb4f01cafecc9ddc6934de33d51a97f135 (diff)
port
Diffstat (limited to 'app/helpers/mirror_helper.rb')
-rw-r--r--app/helpers/mirror_helper.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/mirror_helper.rb b/app/helpers/mirror_helper.rb
new file mode 100644
index 00000000000..dc611ea7408
--- /dev/null
+++ b/app/helpers/mirror_helper.rb
@@ -0,0 +1,5 @@
+module MirrorHelper
+ def mirrors_form_data_attributes
+ { project_mirror_endpoint: project_mirror_path(@project) }
+ end
+end \ No newline at end of file