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
bcdb1687
Commit
bcdb1687
authored
Oct 08, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dashboard atom feed routes
parent
624abdfc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
app/decorators/event_decorator.rb
app/decorators/event_decorator.rb
+3
-4
No files found.
app/decorators/event_decorator.rb
View file @
bcdb1687
...
@@ -24,15 +24,14 @@ class EventDecorator < ApplicationDecorator
...
@@ -24,15 +24,14 @@ class EventDecorator < ApplicationDecorator
elsif
self
.
push?
elsif
self
.
push?
if
self
.
push_with_commits?
if
self
.
push_with_commits?
if
self
.
commits_count
>
1
if
self
.
commits_count
>
1
h
.
compare_project_commits_path
(
self
.
project
,
:from
=>
self
.
parent_commit
.
id
,
:to
=>
self
.
last_commit
.
id
)
h
.
project_compare_url
(
self
.
project
,
:from
=>
self
.
parent_commit
.
id
,
:to
=>
self
.
last_commit
.
id
)
else
else
h
.
project_commit_
path
(
self
.
project
,
:id
=>
self
.
last_commit
.
id
)
h
.
project_commit_
url
(
self
.
project
,
:id
=>
self
.
last_commit
.
id
)
end
end
else
else
h
.
project_commits_url
(
self
.
project
,
ref:
self
.
ref_name
)
h
.
project_commits_url
(
self
.
project
,
self
.
ref_name
)
end
end
end
end
end
end
def
feed_summary
def
feed_summary
...
...
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