Skip to content

Commit f7c5bc6

Browse files
committed
Typo
1 parent 320289b commit f7c5bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/organization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def find_by_slug(slug)
7272
end
7373

7474
def visibility_allowed?(request, user)
75-
return true if current.user.administrator?
75+
return true if user.administrator?
7676
return true unless whitelisted_ips
7777
whitelisted_ips.include?(request.remote_ip)
7878
end

0 commit comments

Comments
 (0)