artists: redact version histories of banned artists.
Fix names and urls of banned artists being visible in Google through artist version pages.
This commit is contained in:
@@ -29,6 +29,14 @@ class ApplicationRecord < ActiveRecord::Base
|
||||
def visible(user)
|
||||
all
|
||||
end
|
||||
|
||||
def policy(current_user)
|
||||
Pundit.policy(current_user, self)
|
||||
end
|
||||
end
|
||||
|
||||
def policy(current_user)
|
||||
Pundit.policy(current_user, self)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user