Workaround: rota falha quando nome da pagina wiki contem barras
This commit is contained in:
@@ -44,7 +44,7 @@ class WikiPage < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def to_param
|
||||
self.title
|
||||
self.title['/'].nil? ? self.title : self.id
|
||||
end
|
||||
|
||||
def WikiPage.diff(from, to)
|
||||
|
||||
Reference in New Issue
Block a user