All I want for Christmas ...
... is to settle these encoding issues once and for all. Let's override the accessor methods, which seems to offer a simpler solution. Now with tests (for whatever that helps)...
This commit is contained in:
parent
6e6bf1a446
commit
0c2bc65e7a
6 changed files with 33 additions and 20 deletions
|
@ -389,7 +389,6 @@ class WikiController < ApplicationController
|
|||
def load_page
|
||||
@page_name = params['id'] ? params['id'].purify : nil
|
||||
@page = @wiki.read_page(@web_name, @page_name) if @page_name
|
||||
@page.name.as_utf8 if @page
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue