Commit c74ae0e4 authored by Phil Hughes's avatar Phil Hughes

Removed return statement that isn't needed

parent b5decb21
......@@ -42,7 +42,7 @@ module EventsHelper
def event_filter_visible(key)
return true unless @project
return @project.feature_available?(:repository, current_user)
@project.feature_available?(:repository, current_user)
end
def event_preposition(event)
......
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