Commit 5d17dcca authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Use group settings layout for audit events and hooks

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 55964cbb
...@@ -29,7 +29,7 @@ class AuditEventsController < ApplicationController ...@@ -29,7 +29,7 @@ class AuditEventsController < ApplicationController
if @project if @project
'project_settings' 'project_settings'
elsif @group elsif @group
'group' 'group_settings'
end end
end end
......
...@@ -5,7 +5,7 @@ class Groups::HooksController < Groups::ApplicationController ...@@ -5,7 +5,7 @@ class Groups::HooksController < Groups::ApplicationController
respond_to :html respond_to :html
layout "group" layout 'group_settings'
def index def index
@hooks = @group.hooks @hooks = @group.hooks
......
...@@ -3,7 +3,7 @@ class Groups::LdapGroupLinksController < Groups::ApplicationController ...@@ -3,7 +3,7 @@ class Groups::LdapGroupLinksController < Groups::ApplicationController
before_action :require_ldap_enabled before_action :require_ldap_enabled
before_action :authorize_admin_group! before_action :authorize_admin_group!
layout 'group' layout 'group_settings'
def index def index
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment