Sha256: e695e1c9d96d8b4040672fd0b91cf466f383e4b2203c1ba7e6e2c5275b30cd79
Contents?: true
Size: 278 Bytes
Versions: 35
Compression:
Stored size: 278 Bytes
Contents
module ThecoreHelper def bootstrap_class_for(flash_type) { success: "alert-success", error: "alert-error", alert: "alert-danger", notice: "alert-info" }[flash_type.to_sym] || flash_type.to_s end def line_break s s.gsub("\n", "<br/>") end end
Version data entries
35 entries across 35 versions & 1 rubygems