Module: ToastHelper
- Defined in:
- app/helpers/toast_helper.rb
Instance Method Summary collapse
Instance Method Details
#toast_alert(text) ⇒ Object
6 7 8 |
# File 'app/helpers/toast_helper.rb', line 6 def toast_alert(text) toast_for('error', 'times-circle', text) end |
#toast_info(text) ⇒ Object
10 11 12 |
# File 'app/helpers/toast_helper.rb', line 10 def toast_info(text) toast_for('info', 'info-circle', text) end |
#toast_notice(text) ⇒ Object
2 3 4 |
# File 'app/helpers/toast_helper.rb', line 2 def toast_notice(text) toast_for('success', 'check-circle', text) end |