Add a BoardPolicy object
DRY up things a little by having a BoardPolicy that knows how to delegate to Project or Group depending on parent type instead of having `group#group_board?` calls everywhere
Showing
app/policies/board_policy.rb
0 → 100644
Please register or sign in to comment