renamed 'pending' route to 'edits', fixups based on @vikhyat's feedback