Fix new dtext shortlinks redirecting to nonexistent pages.

Fix the following dtext shortlinks redirecting to nonexistent pages:

* flag #1
* appeal #1
* mod action #1
* bur #1
This commit is contained in:
evazion
2018-10-25 23:00:43 -05:00
parent a2186c19dc
commit 705217d337
4 changed files with 16 additions and 3 deletions

View File

@@ -15,7 +15,9 @@ class BulkUpdateRequestsController < ApplicationController
end
def show
respond_with(@bulk_update_request)
respond_with(@bulk_update_request) do |fmt|
fmt.html { redirect_to bulk_update_requests_path(search: { id: @bulk_update_request.id }) }
end
end
def edit