Added edit to offers page
fix bug in offer controller