mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 18:11:11 +08:00
fix failure in rails 4 mode
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
class Admin::ApiController < Admin::AdminController
|
||||
|
||||
def index
|
||||
render_serialized(ApiKey.all, ApiKeySerializer)
|
||||
render_serialized(ApiKey.all.to_a, ApiKeySerializer)
|
||||
end
|
||||
|
||||
def regenerate_key
|
||||
|
Reference in New Issue
Block a user