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
Jérome Perrin
gitlab-ce
Commits
4ab31d83
Commit
4ab31d83
authored
Dec 02, 2013
by
Julien Kirch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unused http_url member in project & gollum_wiki
parent
4e878ad9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/gollum_wiki.rb
app/models/gollum_wiki.rb
+1
-1
app/models/project.rb
app/models/project.rb
+1
-1
No files found.
app/models/gollum_wiki.rb
View file @
4ab31d83
...
@@ -33,7 +33,7 @@ class GollumWiki
...
@@ -33,7 +33,7 @@ class GollumWiki
end
end
def
http_url_to_repo
def
http_url_to_repo
http_url
=
[
Gitlab
.
config
.
gitlab
.
url
,
"/"
,
path_with_namespace
,
".git"
].
join
(
''
)
[
Gitlab
.
config
.
gitlab
.
url
,
"/"
,
path_with_namespace
,
".git"
].
join
(
''
)
end
end
# Returns the Gollum::Wiki object.
# Returns the Gollum::Wiki object.
...
...
app/models/project.rb
View file @
4ab31d83
...
@@ -392,7 +392,7 @@ class Project < ActiveRecord::Base
...
@@ -392,7 +392,7 @@ class Project < ActiveRecord::Base
end
end
def
http_url_to_repo
def
http_url_to_repo
http_url
=
[
Gitlab
.
config
.
gitlab
.
url
,
"/"
,
path_with_namespace
,
".git"
].
join
(
''
)
[
Gitlab
.
config
.
gitlab
.
url
,
"/"
,
path_with_namespace
,
".git"
].
join
(
''
)
end
end
# Check if current branch name is marked as protected in the system
# Check if current branch name is marked as protected in the system
...
...
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