Why not fix it to point to the proper controller? i.e. `url_for controller: 'commit', action: 'show'`