Replace project with namespace for events

This commit is contained in:
Dmitriy Zaporozhets 2012-12-09 16:03:24 +02:00
parent f4d9059b7e
commit f1dfc27c5d
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
= link_to project_commits_path(event.project, event.ref_name) do
%strong= truncate(event.ref_name, length: 28)
at
%strong= link_to event.project.name, event.project
%strong= link_to_project event.project
%span
= time_ago_in_words(event.created_at)
ago.

View File

@ -7,7 +7,7 @@
= link_to project_commits_path(event.project, event.ref_name) do
%strong= event.ref_name
at
%strong= link_to event.project.name, event.project
%strong= link_to_project event.project
- if event.push_with_commits?
- project = event.project