summaryrefslogtreecommitdiff
path: root/app/views/projects/empty.html.haml
diff options
context:
space:
mode:
authorJason Hollingsworth <jhworth.developer@gmail.com>2013-12-03 20:13:19 -0600
committerJason Hollingsworth <jhworth.developer@gmail.com>2013-12-17 12:48:59 -0600
commit1521f467cbf8b1b9b3e9cb4169f3e96a9984bb46 (patch)
treec3dbbcec4b1b517df01e678a1850d5c9ff3f3bda /app/views/projects/empty.html.haml
parent26c8b3163454ab4610a8130f13de1dc686dcdabf (diff)
downloadgitlab-ce-1521f467cbf8b1b9b3e9cb4169f3e96a9984bb46.tar.gz
Update default public pull url.
This updates the default pull URL for public projects when the user is not logged in.
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index b63e6a6b554..15cf150460f 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -29,7 +29,7 @@
touch README
git add README
git commit -m 'first commit'
- %span.clone= "git remote add origin #{@project.url_to_repo}"
+ %span.clone= "git remote add origin #{default_url_to_repo}"
:preserve
git push -u origin master
@@ -38,7 +38,7 @@
%pre.dark
:preserve
cd existing_git_repo
- %span.clone= "git remote add origin #{@project.url_to_repo}"
+ %span.clone= "git remote add origin #{default_url_to_repo}"
:preserve
git push -u origin master