forked from e621ng/e621ng
fixes #1776
This commit is contained in:
parent
d9402047f1
commit
e9bee223cc
@ -50,7 +50,7 @@ class ForumPostsController < ApplicationController
|
||||
@forum_post = ForumPost.find(params[:id])
|
||||
check_privilege(@forum_post)
|
||||
@forum_post.update_attributes(params[:forum_post])
|
||||
respond_with(@forum_post, :location => forum_topic_path(@forum_post.topic, :page => @forum_post.forum_topic_page))
|
||||
respond_with(@forum_post, :location => forum_topic_path(@forum_post.topic, :page => @forum_post.forum_topic_page, :anchor => "forum_post_#{@forum_post.id}"))
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
Loading…
Reference in New Issue
Block a user