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:
@@ -26,11 +26,13 @@ class SavedSearchesController < ApplicationController
|
||||
CurrentUser.disable_categorized_saved_searches = true
|
||||
CurrentUser.save
|
||||
end
|
||||
respond_with(@saved_search)
|
||||
end
|
||||
|
||||
def destroy
|
||||
@saved_search = saved_searches.find(params[:id])
|
||||
@saved_search.destroy
|
||||
respond_with(@saved_search)
|
||||
end
|
||||
|
||||
def edit
|
||||
|
||||
Reference in New Issue
Block a user