gitlab-org--gitlab-foss/app/controllers/projects/settings/integrations_controller.rb
2017-04-28 14:06:03 +00:00

18 lines
393 B
Ruby

module Projects
module Settings
class IntegrationsController < Projects::ApplicationController
include ServiceParams
before_action :authorize_admin_project!
layout "project_settings"
def show
@hooks = @project.hooks
@hook = ProjectHook.new
# Services
@services = @project.find_or_initialize_services
end
end
end
end