`redirect_to` takes notice as a parameter. So you can actually just do this: `redirect_to cookbook_path(@cookbook), notice: 'Collaborators added'` and it should accomplish the same thing.