Workaround: rota falha quando nome da pagina wiki contem barras

master
Alinson S. Xavier 18 years ago
parent cd1bbb0c9a
commit 9723722093

@ -44,7 +44,7 @@ class WikiPage < ActiveRecord::Base
end end
def to_param def to_param
self.title self.title['/'].nil? ? self.title : self.id
end end
def WikiPage.diff(from, to) def WikiPage.diff(from, to)