From 6fd471295d1e617071d1f000b730fbbc439039c7 Mon Sep 17 00:00:00 2001 From: Sebastian Jambor Date: Mon, 16 Jan 2023 19:47:50 +0100 Subject: [PATCH] remove unused index route --- app/controllers/api/v1/activity_log_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/api/v1/activity_log_controller.rb b/app/controllers/api/v1/activity_log_controller.rb index 8a508fcfc..d95888f3a 100644 --- a/app/controllers/api/v1/activity_log_controller.rb +++ b/app/controllers/api/v1/activity_log_controller.rb @@ -10,10 +10,6 @@ class Api::V1::ActivityLogController < Api::BaseController render json: { error: e.to_s }, status: 422 end - def index - render :text => "hello world" - end - def show response.headers['Content-Type'] = 'text/event-stream' # hack to avoid computing Etag, which delays sending of data