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:
@@ -24,7 +24,9 @@ class PostFlagsController < ApplicationController
|
||||
|
||||
def show
|
||||
@post_flag = PostFlag.find(params[:id])
|
||||
respond_with(@post_flag)
|
||||
respond_with(@post_flag) do |fmt|
|
||||
fmt.html { redirect_to post_flags_path(search: { id: @post_flag.id }) }
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user