Browse Source

slight tweak of methods used to get name of an instance of the class

pull/1427/head
Arthur Campbell 3 years ago
parent
commit
1e95b06e6d
  1. 2
      app/views/form/review.html.erb

2
app/views/form/review.html.erb

@ -1,4 +1,4 @@
<% class_name = @log.class.name.underscore.humanize(capitalize: false) %>
<% class_name = @log.class.model_name.human.downcase %>
<% content_for :title, "Review #{class_name}" %>
<% content_for :breadcrumbs, govuk_breadcrumbs(breadcrumbs: {
"Logs" => url_for(@log.class),

Loading…
Cancel
Save