diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-10 14:35:44 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-10 14:35:44 +0300 |
| commit | c610f2da5504be78762e2f8a94009d951c19dd7d (patch) | |
| tree | 4cb66d984949866697471663e882d035ff28d6de /app | |
| parent | 19f505a73525b5559f04761707566ebb157fe9b6 (diff) | |
| download | gitlab-ce-c610f2da5504be78762e2f8a94009d951c19dd7d.tar.gz | |
fix gollum git instructions. related to #3562
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/gollum_wiki.rb | 4 | ||||
| -rw-r--r-- | app/views/wikis/git_access.html.haml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb index 8168347926b..d1edbab4533 100644 --- a/app/models/gollum_wiki.rb +++ b/app/models/gollum_wiki.rb @@ -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 diff --git a/app/views/wikis/git_access.html.haml b/app/views/wikis/git_access.html.haml index 58c8aa06aca..462d483fd85 100644 --- a/app/views/wikis/git_access.html.haml +++ b/app/views/wikis/git_access.html.haml @@ -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 |
