GitlabSerialize: cause of invalid yaml in some events we migrate to json serialization

This commit is contained in:
Dmitriy Zaporozhets 2012-04-04 02:25:33 +03:00
parent 8aa5076d68
commit a951e6f8ae
4 changed files with 36 additions and 13 deletions

View file

@ -44,7 +44,7 @@
= link_to profile_path, :class => "btn" do
Your Profile »
.span10.left= render "dashboard/projects_feed", :projects => @active_projects
- if @last_push
- if @last_push && @last_push.valid_push?
.padded.prepend-top-20
%h5
%small Latest push was to the #{@last_push.branch_name} branch of #{@last_push.project.name}: