Skip to content

Commit d4ab808

Browse files
author
root
committed
Add attr_accessible for RepositoryProtectedBranche
1 parent cb6d0fe commit d4ab808

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: app/models/repository_protected_branche.rb

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ class RepositoryProtectedBranche < ActiveRecord::Base
44
VALID_PERMS = [ "RW+", "RW", "R", '-' ]
55
DEFAULT_PERM = "RW+"
66

7+
attr_accessible :role_id, :path, :permissions
8+
79
## Relations
810
belongs_to :repository
911
belongs_to :role

0 commit comments

Comments
 (0)