Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

remove dead code

Christophe Bliarde761136efb78
diff --git a/app/views/roles/new.html.erb b/app/views/roles/new.html.erb
index b9d7ff69883..6e8a6bbc558 100644
--- a/app/views/roles/new.html.erb
+++ b/app/views/roles/new.html.erb
@@ -33,8 +33,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= breadcrumb_toolbar t(:label_role_new) %>
<%= labelled_tabular_form_for @role, :url => { :action => 'create' }, :html => {:id => 'role_form'}, :as => :role do |f| %>
-<%= render partial: 'form',
- locals: { f: f, role: @role, roles: @roles, permissions: @permissions, global_permissions: @global_permissions } %>
+<%= render partial: 'form', locals: { f: f, role: @role, roles: @roles } %>
<br/>
<%= styled_button_tag t(:button_create), class: '-with-icon icon-checkmark' %>
<% end %>