wiki删除后跳转

This commit is contained in:
ouyangxuhua 2015-09-07 17:16:25 +08:00
parent 8c66adec1b
commit fb6688265c
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ class WikiController < ApplicationController
end
@page.destroy
respond_to do |format|
format.html { redirect_to project_wiki_index_url(@project) }
format.html {redirect_to edit_project_wiki_page_url @project, @page.title}
format.api { render_api_ok }
end
end