fix failure in rails 4 mode
This commit is contained in:
parent
3565f4c8cf
commit
738a25b732
|
@ -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 New Issue