- if flash[:alert] || flash[:notice]
  #comable-notifier
    javascript:
      #{add_gritter(flash[:alert], image: :error) if flash[:alert]}
      #{add_gritter(flash[:notice], image: :success) if flash[:notice]}

- if flash[:alert] || flash[:notice]
  #comable-notifier
    javascript:
      #{add_gritter(flash[:alert], image: :error, nodom_wrap: true) if flash[:alert]}
      #{add_gritter(flash[:notice], image: :success, nodom_wrap: true) if flash[:notice]}

Add a gritter option to work
Add a gritter option to work

hyoshida/comable,appirits/comable,hyoshida/comable,appirits/comable,appirits/comable,hyoshida/comable