From 4db3e38174b98e2b643a6e420be49f532e5a67a8 Mon Sep 17 00:00:00 2001 From: Jeremy Friesen Date: Tue, 8 Mar 2022 13:59:08 -0500 Subject: [PATCH] Removing unused instance variable (#16826) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ```shell ❯ rg "@notifications_index" ``` The above shell command exits status code 1, which means there are no results found. This relates to exploratory work for forem/forem#16821 --- app/controllers/notifications_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/notifications_controller.rb b/app/controllers/notifications_controller.rb index d9128c486..b3011a64c 100644 --- a/app/controllers/notifications_controller.rb +++ b/app/controllers/notifications_controller.rb @@ -5,7 +5,6 @@ class NotificationsController < ApplicationController def index return unless user_signed_in? - @notifications_index = true @user = user_to_view @initial_page_size = 8