fix failure in rails 4 mode

This commit is contained in:
Sam 2013-10-24 13:40:18 +11:00
parent 3565f4c8cf
commit 738a25b732
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
class Admin::ApiController < Admin::AdminController class Admin::ApiController < Admin::AdminController
def index def index
render_serialized(ApiKey.all, ApiKeySerializer) render_serialized(ApiKey.all.to_a, ApiKeySerializer)
end end
def regenerate_key def regenerate_key