summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-23 01:25:13 -0500
committerPeter Kozak <spag@golwen.net>2013-02-23 01:25:13 -0500
commit3404cb248f32951aaf0508cfcfc87bfad533c6e5 (patch)
treedffb68aa85e9e9c83926f4513452b2aaa6021a84 /app/controllers
parent0eb056b92e9eaf091146c13dcb3fdc9d7fb34baf (diff)
set target_group=group on new
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/group_permissions_controller.rb1
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