From e11e9ada062b12b064dde124bb5601df7c40f45b Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 2 Feb 2021 23:26:40 +0100 Subject: Remove useless method --- app/helpers/application_helper.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 72ba3cf..d80e4fe 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -3,10 +3,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later module ApplicationHelper - def current_agency - current_user.agencies.where(agent: current_agent).first - end - # Markdown helper # Always use all extensions. Additional parser and render options may be # passed as a second argument. -- cgit v1.2.3