[#369] fix error with new issue page

This commit is contained in:
Alexander Machehin 2014-11-27 21:52:54 +05:00
parent 4ffa696ef3
commit 65498ca47b
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
}; };
}); });
<% end %> <% end %>
<% if action_name == 'index' %> <% if action_name.in?(['new', 'create', 'index']) %>
angular.module('RosaABF').service('LabelsInitializer', function(){ angular.module('RosaABF').service('LabelsInitializer', function(){
return { return {
project: '<%= @project.name_with_owner %>', project: '<%= @project.name_with_owner %>',