Commit b011052c authored by Ciro Santilli's avatar Ciro Santilli

Remove unused authenticate_user from project#show

Redundant with the authorize_read_project! filter
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment