From 65498ca47bb96c937d7de073d70c7c779d9fffc5 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Thu, 27 Nov 2014 21:52:54 +0500 Subject: [PATCH] [#369] fix error with new issue page --- app/views/projects/issues/_init_service.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/issues/_init_service.js.erb b/app/views/projects/issues/_init_service.js.erb index b829ac604..105a321a4 100644 --- a/app/views/projects/issues/_init_service.js.erb +++ b/app/views/projects/issues/_init_service.js.erb @@ -14,7 +14,7 @@ }; }); <% end %> - <% if action_name == 'index' %> + <% if action_name.in?(['new', 'create', 'index']) %> angular.module('RosaABF').service('LabelsInitializer', function(){ return { project: '<%= @project.name_with_owner %>',