summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--app/controllers/refs_controller.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 71eafabaa91..8e2bdb9cbb5 100644
--- a/Gemfile
+++ b/Gemfile
@@ -57,7 +57,7 @@ gem "seed-fu"
# Markdown to HTML
gem "redcarpet", "~> 2.1.1"
-gem "github-markup", "~> 0.7.4"
+gem "github-markup", "~> 0.7.4", require: 'github/markup'
# Servers
gem "thin"
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb
index 9036143779c..3f81a2ca1a3 100644
--- a/app/controllers/refs_controller.rb
+++ b/app/controllers/refs_controller.rb
@@ -1,5 +1,3 @@
-require 'github/markup'
-
class RefsController < ApplicationController
include Gitlab::Encode
before_filter :project