Commit 9fbd168f authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Remove unnecessary "return" keyword

parent 5b6205d5
......@@ -37,11 +37,11 @@ module Projects
end
def authorize_admin_related_issue!
return render_404 unless can?(current_user, :admin_related_issue, @project)
render_404 unless can?(current_user, :admin_related_issue, @project)
end
def authorize_read_related_issue!
return render_404 unless can?(current_user, :read_related_issue, @project)
render_404 unless can?(current_user, :read_related_issue, @project)
end
def issue
......
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