操作
Defect #780
完了404 error occurs after editing comment
説明
Wikiでコメントを書いた後、編集して適用をクリックすると404エラーが発生する。
r148 の修正漏れかと…。
--- wiki_extensions_controller.rb.ORIG 2011-06-02 00:15:08.000000000 +0900
+++ wiki_extensions_controller.rb 2011-06-15 16:09:42.000000000 +0900
@@ -79,7 +79,7 @@
page = WikiPage.find(comment.wiki_page_id)
comment.comment = params[:comment]
comment.save
- redirect_to :controller => 'wiki', :action => 'index', :id => @project, :page => page.title
+ redirect_to :controller => 'wiki', :action => 'show', :project_id => @project, :id => page.title
end
操作