mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Remove some calls to all
. They are not required, and Rails4 raises warnings about them.
This commit is contained in:
@ -16,7 +16,7 @@ class Admin::EmailController < Admin::AdminController
|
||||
end
|
||||
|
||||
def logs
|
||||
@email_logs = EmailLog.limit(50).includes(:user).order('created_at desc').all
|
||||
@email_logs = EmailLog.limit(50).includes(:user).order('created_at desc').to_a
|
||||
render_serialized(@email_logs, EmailLogSerializer)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user