Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
c610f2da
Commit
c610f2da
authored
Apr 10, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gollum git instructions. related to #3562
parent
19f505a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/models/gollum_wiki.rb
app/models/gollum_wiki.rb
+4
-0
app/views/wikis/git_access.html.haml
app/views/wikis/git_access.html.haml
+2
-2
No files found.
app/models/gollum_wiki.rb
View file @
c610f2da
...
@@ -16,6 +16,10 @@ class GollumWiki
...
@@ -16,6 +16,10 @@ class GollumWiki
@user
=
user
@user
=
user
end
end
def
path
@project
.
path
+
'.wiki'
end
def
path_with_namespace
def
path_with_namespace
@project
.
path_with_namespace
+
".wiki"
@project
.
path_with_namespace
+
".wiki"
end
end
...
...
app/views/wikis/git_access.html.haml
View file @
c610f2da
...
@@ -24,8 +24,8 @@
...
@@ -24,8 +24,8 @@
%legend
Clone Your Wiki:
%legend
Clone Your Wiki:
%pre
.dark
%pre
.dark
:preserve
:preserve
git clone
#{
@gollum_wiki
.
path_with_namespace
}
.git
git clone
#{
@gollum_wiki
.
ssh_url_to_repo
}
cd
#{
@gollum_wiki
.
path
_with_namespace
}
cd
#{
@gollum_wiki
.
path
}
%legend
Start Gollum And Edit Locally:
%legend
Start Gollum And Edit Locally:
%pre
.dark
%pre
.dark
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment