chinese params with uri encode

This commit is contained in:
邱博亞 2023-10-15 22:16:16 +08:00
parent e92256e0b6
commit 06bc2b1531
1 changed files with 4 additions and 0 deletions

View File

@ -694,4 +694,8 @@ class SeminarMain
def enable_review_result
self.assign_mode == 2
end
def to_param
tmp = super()
URI.encode(tmp)
end
end