summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 23:21:35 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-08 23:21:35 +0200
commitf0e1da04f061843dd6c6a45d51090c18bade3f1f (patch)
tree309047dcdd8ce537e383b7729afd749a2441ef7a /app/controllers
parenta0b9fe12886f55875bc4bce49f2566be3bff79cd (diff)
downloadgitlab-ce-f0e1da04f061843dd6c6a45d51090c18bade3f1f.tar.gz
Show last push widget on several project pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index be85521ffa5..5474f9e97a6 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -81,7 +81,6 @@ class ProjectsController < ApplicationController
if @project.empty_repo?
render 'projects/empty'
else
- @last_push = current_user.recent_push(@project.id) if current_user
render :show
end
else