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
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
class PostEventsController < ApplicationController
|
||||
before_filter :member_only
|
||||
respond_to :html, :xml, :json
|
||||
|
||||
def index
|
||||
@events = PostEvent.find_for_post(params[:post_id])
|
||||
respond_with(@events)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user