Deconflicting a name of an input for two forms on the same page
This commit is contained in:
parent
4e6d2cbdf6
commit
8ab380d6dd
3 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ class WikiController < ApplicationController
|
|||
end
|
||||
|
||||
def remove_orphaned_pages
|
||||
if wiki.authenticate(@params['system_password'])
|
||||
if wiki.authenticate(@params['system_password_orphaned'])
|
||||
wiki.remove_orphaned_pages(@web_name)
|
||||
flash[:info] = 'Orphaned pages removed'
|
||||
redirect_to :action => 'list'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue