Commit f9814bf2 authored by Valeriy Sizov's avatar Valeriy Sizov

Merge pull request #8094 from cirosantilli/rm-unused-authenticate_user

Remove unused authenticate_user from project#show
parents 5715df20 b011052c
...@@ -52,8 +52,6 @@ class ProjectsController < ApplicationController ...@@ -52,8 +52,6 @@ class ProjectsController < ApplicationController
return return
end end
return authenticate_user! unless @project.public? || current_user
limit = (params[:limit] || 20).to_i limit = (params[:limit] || 20).to_i
@events = @project.events.recent @events = @project.events.recent
@events = event_filter.apply_filter(@events) @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