app/views/effective/logs/_log.html.haml in effective_logging-2.1.2 vs app/views/effective/logs/_log.html.haml in effective_logging-3.0.0
- old
+ new
@@ -3,10 +3,10 @@
.row
.col-md-8
- parents_of_log(log).each do |parent|
= link_to(log.message, request.fullpath.sub('/' + log.to_param, '/' + parent.to_param))
= ' > '
- %p= log.message.html_safe
+ %p= log.message.to_s.gsub("\n", '<br>').html_safe
.col-md-4.text-right
- if log.prev_log
= link_to 'Prev', request.fullpath.sub('/' + log.to_param, '/' + log.prev_log.to_param), class: 'btn btn-primary'