aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-02-02 23:26:40 +0100
committerhellekin <hellekin@cepheide.org>2021-02-02 23:26:40 +0100
commite11e9ada062b12b064dde124bb5601df7c40f45b (patch)
tree4d869b02b5f60bae375a088430bb9ca4ffb5f4da
parent7f880e3ab041584f77daf098e585bc3c4a08a38a (diff)
downloadincommon-map-e11e9ada062b12b064dde124bb5601df7c40f45b.tar.gz
Remove useless method
-rw-r--r--app/helpers/application_helper.rb4
1 files changed, 0 insertions, 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.