📜  flash in rails - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:46.329000             🧑  作者: Mango

代码示例1
class ApplicationController
  add_flash_types :info, :error, :warning
end
# some ways to add keys of flash hash manually