Add /pixiv_ugoira_frame_data.json endpoint.

This commit is contained in:
evazion
2020-02-24 22:42:25 -06:00
parent 7c71311eef
commit 406bc5d87f
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class PixivUgoiraFrameDataController < ApplicationController
respond_to :json, :xml
def index
@pixiv_ugoira_frame_data = PixivUgoiraFrameData.paginated_search(params)
respond_with(@pixiv_ugoira_frame_data)
end
end