diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee index 09e07f74b..42d6a32fa 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee @@ -38,11 +38,12 @@ class App.TicketZoom extends App.Controller meta: => return if !@ticket + ticket = App.Collection.find( 'Ticket', @ticket.id ) meta = - url: @url() - head: @ticket.title - title: '#' + @ticket.number + ' - ' + @ticket.title - id: @ticket.id + url: @url() + head: ticket.title + title: '#' + ticket.number + ' - ' + ticket.title + id: ticket.id url: => '#ticket/zoom/' + @ticket.id