summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-12 00:09:57 +0100
committerAzul <azul@leap.se>2012-12-12 00:09:57 +0100
commit0871fd8938952d8b718c64d4d45535f7ae9fd742 (patch)
treeded6504b15bab40b42dd4bd60e4df2571be8bc61 /certs
parent7a9a4f4e7bd090fd27e05b03f93832d79f5f8db2 (diff)
parent1a26988cb7ff30061473f4a781166b184b3037ce (diff)
Merge branch 'master' into develop
Diffstat (limited to 'certs')
-rw-r--r--certs/app/models/cert.rb2
-rw-r--r--certs/config/routes.rb4
2 files changed, 4 insertions, 2 deletions
diff --git a/certs/app/models/cert.rb b/certs/app/models/cert.rb
index 40efde9..9a6c98d 100644
--- a/certs/app/models/cert.rb
+++ b/certs/app/models/cert.rb
@@ -1,6 +1,6 @@
class Cert < CouchRest::Model::Base
- use_database 'certs'
+ use_database 'client_certificates'
timestamps!
diff --git a/certs/config/routes.rb b/certs/config/routes.rb
index 7f1f31d..cb97757 100644
--- a/certs/config/routes.rb
+++ b/certs/config/routes.rb
@@ -1,3 +1,5 @@
Rails.application.routes.draw do
- resource :cert, :only => [:show]
+ scope '/1' do
+ resource :cert, :only => [:show]
+ end
end