add clean_slug function to dashboardEditorController