app/helpers/application_helper.rb
Showing 6 of 6 total issues
Do not use when x;
. Use when x then
instead. Open
Open
when :alert; 'alert-warning'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Missing top-level module documentation comment. Open
Open
module ApplicationHelper
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Use def with parentheses when there are parameters. Open
Open
def bootstrap_class_for flash_type
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
Open
when :notice; 'alert-info'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
Open
when :success; 'alert-success'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Do not use when x;
. Use when x then
instead. Open
Open
when :error; 'alert-danger'
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks