diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-28 01:54:53 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-06-28 01:54:53 +0400 |
commit | a4ae4694a2de17e18f1f68a99f8765c61c09dd19 (patch) | |
tree | 0403b0ae0ef148690c743db4a61a9b8594791556 | |
parent | 19d0dc3c042d9a2aa70094778b2f4d2237fbf015 (diff) |
Fix issue #987 #972
-rw-r--r-- | app/helpers/application_helper.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 8e151ef75df..514e4661000 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -90,7 +90,10 @@ module ApplicationHelper end def show_last_push_widget?(event) - event && event.last_push_to_non_root? && - event.project && event.project.merge_requests_enabled + event && + event.last_push_to_non_root? && + !event.rm_ref? && + event.project && + event.project.merge_requests_enabled end end |