[5.0] Search needs update for gollum (old wiki urls for home / 404 on some)
Created by: Philzen
-
When using the search page and it finds a "Home"-Page of any Wiki, the url will point to
.../wiki/index
instead of.../wiki/Home
-
whenever there's a match for a wiki page that has a space in the title / url, i'm getting the following errors in log
ActionController::RoutingError (No route matches {:action=>"show", :controller=>"wikis", :project_id=>#<Project id: 3, name: "NodeWorks.net", path: "nodeworks_net", description: nil, created_at: "2012-07-20 06:56:18", updated_at: "2012-07-20 06:56:18", code: "nodeworks_net", creator_id: 2, default_branch: "master", issues_enabled: true, wall_enabled: true, merge_requests_enabled: true, wiki_enabled: true, namespace_id: nil, public: false, issues_tracker: "gitlab", issues_tracker_id: nil, snippets_enabled: true>, :id=>#<Wiki id: 48, title: "Web Application Object", content: "In order to relieve users from developing the serve...", project_id: 3, created_at: "2012-07-25 20:07:04", updated_at: "2012-07-25 20:07:04", slug: "web application object", user_id: 2>}):
I'm getting the feeling the search is still looking through the Database instead of grep`ing the wiki files...