Sub/sub pages in wiki are broken. (5.0)
Created by: raphendyr
When creating page .../wikis/sub-page/sub-sub-page
I get 500. Error in log is:
Processing by WikisController#create as HTML
Parameters: {... "wiki"=>{"title"=>"sub-page/sub-sub-page", "format"=>"markdown", "content"=>"This is the sub-sub-page!", "message"=>""}, "project_id"=>"<user>/<project>"}
Completed 500 Internal Server Error in 134ms
NoMethodError (undefined method `escaped_url_path' for nil:NilClass):
app/models/wiki_page.rb:160:in `set_attributes'
app/models/wiki_page.rb:171:in `save'
app/models/wiki_page.rb:127:in `create'
app/controllers/wikis_controller.rb:44:in `create'