This commit is contained in:
r888888888
2013-05-07 17:58:27 -07:00
parent 5a1a3baa1c
commit 49de333b74
3 changed files with 19 additions and 3 deletions

View File

@@ -69,8 +69,6 @@ class WikiPagesController < ApplicationController
@wiki_page = WikiPage.find_by_title(params[:title])
if @wiki_page
redirect_to wiki_page_path(@wiki_page)
else
redirect_to new_wiki_page_path(:wiki_page => {:title => params[:title]})
end
end