|
|
|
@ -218,7 +218,7 @@ class WikiController < ApplicationController |
|
|
|
|
@page.redirect_existing_links = true |
|
|
|
|
# used to display the *original* title if some AR validation errors occur |
|
|
|
|
@original_title = @page.pretty_title |
|
|
|
|
if request.put? && @page.update_attributes(permitted_params.rename_wiki_page) |
|
|
|
|
if request.put? && @page.update_attributes(permitted_params.wiki_page_rename) |
|
|
|
|
flash[:notice] = l(:notice_successful_update) |
|
|
|
|
redirect_to_show |
|
|
|
|
end |
|
|
|
|