From c6352eabd28767fb456fcc056fe4332e9b86c333 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Jan 2016 11:40:58 +0100 Subject: [PATCH] Fix https://github.com/jbox-web/redmine_git_hosting/issues/553 --- app/models/protected_branches_member.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/protected_branches_member.rb b/app/models/protected_branches_member.rb index a65ee70c60a..805f845f1d6 100644 --- a/app/models/protected_branches_member.rb +++ b/app/models/protected_branches_member.rb @@ -1,5 +1,8 @@ class ProtectedBranchesMember < ActiveRecord::Base + ## Attributes + attr_accessible :principal_id, :inherited_by + ## Relations belongs_to :protected_branch, class_name: 'RepositoryProtectedBranche' belongs_to :principal