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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7f636b13
Commit
7f636b13
authored
Dec 11, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project namespaces for web hooks data
parent
59a86e42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/models/project.rb
app/models/project.rb
+1
-1
app/roles/push_observer.rb
app/roles/push_observer.rb
+1
-1
No files found.
app/models/project.rb
View file @
7f636b13
...
@@ -192,7 +192,7 @@ class Project < ActiveRecord::Base
...
@@ -192,7 +192,7 @@ class Project < ActiveRecord::Base
end
end
def
web_url
def
web_url
[
Gitlab
.
config
.
url
,
path
].
join
(
"/"
)
[
Gitlab
.
config
.
url
,
path
_with_namespace
].
join
(
"/"
)
end
end
def
common_notes
def
common_notes
...
...
app/roles/push_observer.rb
View file @
7f636b13
...
@@ -114,7 +114,7 @@ module PushObserver
...
@@ -114,7 +114,7 @@ module PushObserver
id:
commit
.
id
,
id:
commit
.
id
,
message:
commit
.
safe_message
,
message:
commit
.
safe_message
,
timestamp:
commit
.
date
.
xmlschema
,
timestamp:
commit
.
date
.
xmlschema
,
url:
"
#{
Gitlab
.
config
.
url
}
/
#{
path
}
/commit/
#{
commit
.
id
}
"
,
url:
"
#{
Gitlab
.
config
.
url
}
/
#{
path
_with_namespace
}
/commit/
#{
commit
.
id
}
"
,
author:
{
author:
{
name:
commit
.
author_name
,
name:
commit
.
author_name
,
email:
commit
.
author_email
email:
commit
.
author_email
...
...
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