Remove unnecessary requires from helpers
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 11:17:54 +0000 (12:17 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Feb 2019 11:17:54 +0000 (12:17 +0100)
app/helpers/browse_helper.rb
app/helpers/browse_tags_helper.rb
app/helpers/title_helper.rb

index 2c41400..63f48a8 100644 (file)
@@ -1,5 +1,3 @@
-require "cgi"
-
 module BrowseHelper
   def printable_name(object, version = false)
     id = if object.id.is_a?(Array)
index 038c5ae..7c43511 100644 (file)
@@ -1,5 +1,3 @@
-require "cgi"
-
 module BrowseTagsHelper
   def format_key(key)
     if url = wiki_link("key", key)
index 88a5a2a..1647034 100644 (file)
@@ -1,5 +1,3 @@
-require "htmlentities"
-
 module TitleHelper
   def self.coder
     @coder ||= HTMLEntities.new