Files
danbooru/app/controllers/super_voters_controller.rb
evazion af7abc2b38 Add missing JSON/XML responses.
* GET    /bans.json
* GET    /bans/1.json
* GET    /ip_bans.json
* POST   /ip_bans.json
* DELETE /ip_bans.json
* GET    /mod_actions.json
* GET    /posts/1/events.json
* POST   /saved_searches.json
* DELETE /saved_searches/1.json
* GET    /super_voters.json
2016-10-17 05:57:05 -05:00

11 lines
204 B
Ruby

class SuperVotersController < ApplicationController
before_filter :member_only
respond_to :html, :xml, :json
def index
@super_voters = SuperVoter.all
respond_with(@super_voters)
end
end