diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-23 01:25:13 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-23 01:25:13 -0500 |
commit | 3404cb248f32951aaf0508cfcfc87bfad533c6e5 (patch) | |
tree | dffb68aa85e9e9c83926f4513452b2aaa6021a84 /app | |
parent | 0eb056b92e9eaf091146c13dcb3fdc9d7fb34baf (diff) |
set target_group=group on new
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/group_permissions_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/group_permissions_controller.rb b/app/controllers/group_permissions_controller.rb index dda800e..b6517b1 100644 --- a/app/controllers/group_permissions_controller.rb +++ b/app/controllers/group_permissions_controller.rb @@ -11,6 +11,7 @@ class GroupPermissionsController < ApplicationController end def new + @group_permission.target_group_id = @group_permission.group_id end def create |