make content editing link rendering more robust in case of nil params