routeToProject function amended to recognize widget context
Merge pull request #133 from Jura/master

routeToProject function amended to recognize widget context