Changed notice: and alert: into flash[:notice] and flash[:alert]