Remove reditrect_to add flash from rails.