Another partial fix for issue #2824, which also affected ip bans and feedback

Also fixed minor errors with IP bans
This commit is contained in:
Type-kun
2017-01-09 13:57:16 +05:00
parent c44c40c759
commit 9da5e67a65
6 changed files with 12 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ class IpBansController < ApplicationController
def create
@ip_ban = IpBan.create(params[:ip_ban])
respond_with(@ip_ban)
respond_with(@ip_ban, :location => ip_bans_path)
end
def index