fix url_for in CommitCtrl (use scope variables)