fix gollum git instructions. related to #3562

This commit is contained in:
Dmitriy Zaporozhets 2013-04-10 14:35:44 +03:00
parent 19f505a735
commit c610f2da55
2 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,10 @@ class GollumWiki
@user = user
end
def path
@project.path + '.wiki'
end
def path_with_namespace
@project.path_with_namespace + ".wiki"
end

View File

@ -24,8 +24,8 @@
%legend Clone Your Wiki:
%pre.dark
:preserve
git clone #{@gollum_wiki.path_with_namespace}.git
cd #{@gollum_wiki.path_with_namespace}
git clone #{@gollum_wiki.ssh_url_to_repo}
cd #{@gollum_wiki.path}
%legend Start Gollum And Edit Locally:
%pre.dark