2.3 Custom Flash Types
Rails 3 advocates the convention of using just two flash types: notice and alert. Rails 4 now allows you to register and use custom flash types the same way you use the first two. This brings greater flexibility to your application workflow.
This lesson will teach you how to register and use custom flash types.