Removed explicit conversions of URL elements - routing does that, and it was therefore done twice - wrong
This commit is contained in:
parent
5e971e00b7
commit
8b14617aea
4 changed files with 16 additions and 4 deletions
|
@ -91,7 +91,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
def redirect_show(page_name = @page_name, web = @web_name)
|
||||
redirect_to :web => web, :controller => 'wiki', :action => 'show',
|
||||
:id => CGI.escape(page_name || 'HomePage')
|
||||
:id => (page_name || 'HomePage')
|
||||
end
|
||||
|
||||
@@REMEMBER_NOT = ['locked', 'save', 'back', 'file', 'pic', 'import']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue