fixes cancan bug from previous merge for homepage edit and delete links