From: Anton Khorev Date: Thu, 3 Aug 2023 00:09:54 +0000 (+0300) Subject: Add titles to issue pages X-Git-Tag: live~1164^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b801f3e3e59bc9f9bcdc7b64db2f45e9acd363ef?ds=sidebyside;hp=eae9c15b75eee543b86130d50552d3c2942ae02f Add titles to issue pages --- diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 44c19e322..c381119f0 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -42,6 +42,7 @@ class IssuesController < ApplicationController end def show + @title = t ".title", :status => @issue.status.humanize, :issue_id => @issue.id @read_reports = @issue.read_reports @unread_reports = @issue.unread_reports @comments = @issue.comments