diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-19 11:46:57 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-10-19 11:46:57 +0200 |
commit | b011052ce7ae714e762a611bad1b9e8866fdf7cd (patch) | |
tree | 5ce48450b373db52487483a830f0506cc530cf4f /app/controllers/projects_controller.rb | |
parent | 3880bb61760ef1f69b0df49148202ff6b4208f01 (diff) | |
download | gitlab-ce-b011052ce7ae714e762a611bad1b9e8866fdf7cd.tar.gz |
Remove unused authenticate_user from project#show
Redundant with the authorize_read_project! filter
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index b3380a6ff23..42ab6d3d133 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -53,8 +53,6 @@ class ProjectsController < ApplicationController return end - return authenticate_user! unless @project.public? || current_user - limit = (params[:limit] || 20).to_i @events = @project.events.recent @events = event_filter.apply_filter(@events) |