提交 b011052c 编写于 作者: C Ciro Santilli

Remove unused authenticate_user from project#show

Redundant with the authorize_read_project! filter
上级 3880bb61
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册