app/helpers/application_helper.rb
Missing top-level module documentation comment.module ApplicationHelperUse def with parentheses when there are parameters. def bootstrap_class_for flash_type case flash_type.to_symDo not use `when x;`. Use `when x then` instead. when :success; 'alert-success'Do not use `when x;`. Use `when x then` instead. when :error; 'alert-danger'Do not use `when x;`. Use `when x then` instead. when :alert; 'alert-warning'Do not use `when x;`. Use `when x then` instead. when :notice; 'alert-info' else; flash_type.to_s end endend