BigW Consortium Gitlab

integrations_controller.rb 393 Bytes
Newer Older
1 2 3 4 5 6 7
module Projects
  module Settings
    class IntegrationsController < Projects::ApplicationController
      include ServiceParams

      before_action :authorize_admin_project!
      layout "project_settings"
8

9 10 11 12 13 14 15 16 17 18
      def show
        @hooks = @project.hooks
        @hook = ProjectHook.new

        # Services
        @services = @project.find_or_initialize_services
      end
    end
  end
end