summaryrefslogtreecommitdiff
path: root/certs/lib
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-01-07 21:21:16 +0100
committerAzul <azul@leap.se>2013-01-07 21:21:16 +0100
commitcee6db281349789ba5ff6dc8d3dc6ca10400aebe (patch)
tree00602c4c7db81e945e3db0204ad345aa06babc63 /certs/lib
parentda5718fe3bcc416dc12ec6892dd8a79ce37525d4 (diff)
Revert "Merge pull request #12 from leapcode/feature/use-leap_ca-lib"
This reverts commit d2acd205b3c3f0931ce4c453e67b1ba572ec77e9, reversing changes made to e6496b0f45cc0b487da7cb35a34b8e79037034c0. Conflicts: certs/lib/leap_web_certs/engine.rb
Diffstat (limited to 'certs/lib')
-rw-r--r--certs/lib/leap_web_certs/engine.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/certs/lib/leap_web_certs/engine.rb b/certs/lib/leap_web_certs/engine.rb
index bc0801d..3c8948a 100644
--- a/certs/lib/leap_web_certs/engine.rb
+++ b/certs/lib/leap_web_certs/engine.rb
@@ -1,14 +1,4 @@
require "leap_web_core"
-require "leap_ca/config"
-LeapCA::Config.db_name = "client_certificates"
-
-# couchrest model has an initializer for this - but apparently that does not work
-CouchRest::Model::Base.configure do |conf|
- conf.environment = Rails.env
- conf.connection_config_file = File.join(Rails.root, 'config', 'couchdb.yml')
-end
-
-require "leap_ca/cert"
module LeapWebCerts
class Engine < ::Rails::Engine