summaryrefslogtreecommitdiff
path: root/certs/lib/leap_web_certs/engine.rb
blob: bc0801de36f702e5eb736a2f7ddb1a634b76fc43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

  end
end