Fix the twitter sharing coming from the contributor-database
Contrary to the entrepreneur database, the format of the routes when sharing a resource from the contributor database does not allow you to be properly redirected on the public dashboard with the proper resource opened.
For now we only execute a dumb replace in the route URL, we need to do something smarter in that case.
URL generated by the share from the contributor dashboard: https://coopedia.starter.coop/en/public-dashboard/public-database/public-database-resource-detail/@https~@~_~_api~!knowledgebase~!starter~!coop~_resources~_92~_
URL generated by the share from the entrepreneur dashboard: https://coopedia.starter.coop/fr/public-dashboard/public-resource-detail/@https~@~_~_api~!knowledgebase~!starter~!coop~_resources~_30~_
First one is not OK, second one is fine.
Related code is here: https://git.startinblox.com/applications/knowledge-base/knowledgebase-front/blob/master/src/scripts/coopstarter.js#L558
Need to rewrite the URL to match the second format when needed.