Updated AccountByUsernameController to return error 404 if suspended
• Updated: - AccountByUsernameController to return error 404 if suspended
This commit is contained in:
@@ -55,10 +55,6 @@ class EmptyController < ActionController::Base
|
||||
nil
|
||||
end
|
||||
|
||||
def gone
|
||||
respond_with_error(410)
|
||||
end
|
||||
|
||||
def cache_collection(raw, klass)
|
||||
return raw unless klass.respond_to?(:with_includes)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user