From 061c53ff1d0f9ddacdc02a3396a4c857b71a502f Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 6 Feb 2019 12:17:54 +0100 Subject: [PATCH] Remove unnecessary requires from helpers --- app/helpers/browse_helper.rb | 2 -- app/helpers/browse_tags_helper.rb | 2 -- app/helpers/title_helper.rb | 2 -- 3 files changed, 6 deletions(-) diff --git a/app/helpers/browse_helper.rb b/app/helpers/browse_helper.rb index 2c414004d..63f48a876 100644 --- a/app/helpers/browse_helper.rb +++ b/app/helpers/browse_helper.rb @@ -1,5 +1,3 @@ -require "cgi" - module BrowseHelper def printable_name(object, version = false) id = if object.id.is_a?(Array) diff --git a/app/helpers/browse_tags_helper.rb b/app/helpers/browse_tags_helper.rb index 038c5ae5b..7c43511c4 100644 --- a/app/helpers/browse_tags_helper.rb +++ b/app/helpers/browse_tags_helper.rb @@ -1,5 +1,3 @@ -require "cgi" - module BrowseTagsHelper def format_key(key) if url = wiki_link("key", key) diff --git a/app/helpers/title_helper.rb b/app/helpers/title_helper.rb index 88a5a2a74..164703436 100644 --- a/app/helpers/title_helper.rb +++ b/app/helpers/title_helper.rb @@ -1,5 +1,3 @@ -require "htmlentities" - module TitleHelper def self.coder @coder ||= HTMLEntities.new -- 2.39.5