**My scenario:**

In my controller, after confirming the user, I redirect to root (a landing page: `statics#landing`) and I attach a notice:

```
redirect_to root_url, notice: 'Confirmation successful.'

```

but there, I always check if the user is already signed in, and if so I'm redirecting him to the actual index:

```
def landing
  redirect_to actual_index_url if (user.signed_in?)
end

```

How can I propagate the confirmation notice to the last page?