mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
fix failure in rails 4 mode
This commit is contained in:
parent
3565f4c8cf
commit
738a25b732
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue