Construct a proper url to wiki?
Added by FLX _ almost 14 years ago
Hello,
I'm very new to Redmine and I'm using the wiki to overview plugin: https://github.com/dcramer/wiki-to-overview
However, with the latest it recently broke due to url changes in the Redmine trunk.
It should be: http://example.com/projects/myproject/wiki (HTTP OK)
But It uses the old: http://example.com/wiki/index/myproject (404)
Code:
redirect_to(:controller => "wiki", :action => "index")
Source: https://github.com/dcramer/wiki-to-overview/blob/master/app/controllers/projects_controller.rb
Even though this is probably the most mundane thing ever, can explain to me how to fix this?
Many thanks,
Dennis
Replies (2)
RE: Construct a proper url to wiki? - Added by Mischa The Evil almost 14 years ago
See the plugin-fork by Martin Häger at https://github.com/mtah/wiki-to-overview which includes fixes for the current Redmine trunk.
Note: this plugin currently does not check if the wiki-module is enabled/allowed for each of the projects which may lead to unexpected 404-issues.