fix parameter naming

pull/2612/head
Jens Ulferts 10 years ago
parent f5bb0067f0
commit dd44451b6e
  1. 2
      app/controllers/wiki_controller.rb

@ -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

Loading…
Cancel
Save