Sha256: b178bc8b52a8acefc4cef575d1ae0029cdf5479cc46ff5fef06963715b25ec5d

Contents?: true

Size: 185 Bytes

Versions: 23

Compression:

Stored size: 185 Bytes

Contents

format :html do
  view :flash do
    flash_notice = params[:flash] || Env.success.flash
    return "" unless flash_notice.present? && focal?
    Array(flash_notice).join "\n"
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
card-1.94.1 mod/notifications/set/all/show_notifications.rb
card-1.94.0 mod/notifications/set/all/show_notifications.rb
card-1.93.13 mod/notifications/set/all/show_notifications.rb
card-1.93.12 mod/notifications/set/all/show_notifications.rb
card-1.93.11 mod/notifications/set/all/show_notifications.rb
card-1.93.10 mod/notifications/set/all/show_notifications.rb
card-1.93.9 mod/notifications/set/all/show_notifications.rb
card-1.93.8 mod/notifications/set/all/show_notifications.rb
card-1.93.7 mod/notifications/set/all/show_notifications.rb
card-1.93.6 mod/notifications/set/all/show_notifications.rb
card-1.93.5 mod/notifications/set/all/show_notifications.rb
card-1.93.4 mod/notifications/set/all/show_notifications.rb
card-1.93.3 mod/notifications/set/all/show_notifications.rb
card-1.93.2 mod/notifications/set/all/show_notifications.rb
card-1.93.1 mod/notifications/set/all/show_notifications.rb
card-1.93.0 mod/notifications/set/all/show_notifications.rb
card-1.92.2 mod/notifications/set/all/show_notifications.rb
card-1.92.1 mod/notifications/set/all/show_notifications.rb
card-1.92 mod/notifications/set/all/show_notifications.rb
card-1.91 mod/notifications/set/all/show_notifications.rb