From ff1f3aa68c937c42c8b60d03e51d5de5d8c354f6 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 25 Oct 2023 12:54:38 -0700 Subject: [PATCH] Delete unused localized_fragment_exist? method --- app/controllers/application_controller.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8684346d..92e0a417 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -41,11 +41,6 @@ class ApplicationController < ActionController::Base I18n.default_locale end - def localized_fragment_exist?(key) - localized_key = localize_fragment_key(key, locale) - fragment_exist?(localized_key) - end - def not_found(record_name='record') raise ActionController::RoutingError.new("#{record_name} not found") end