aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-04-30 16:09:10 +0100
committerLouise Crow <louise.crow@gmail.com>2013-04-30 16:09:10 +0100
commita8f925a87075c8cc36d3ed29f7f64f51bc820b1e (patch)
tree60999ee59f9bc20a849a74bef553271718f32596 /app/controllers/general_controller.rb
parent6124624f4035e74eb79f1e93f26d5584ed3e2fa1 (diff)
Remove debian-specific require clause and use Gemfile to specify non-standard require - bundler should be supplying the gem now.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 075d35ba0..0df685829 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -5,13 +5,6 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: hello@mysociety.org; WWW: http://www.mysociety.org/
-begin
- require 'xmlsimple'
-rescue LoadError
- # Debian maintainers put their xmlsimple in a different location :(
- require 'lib/xmlsimple'
-end
-
require 'open-uri'
class GeneralController < ApplicationController