summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-08 16:42:19 +0100
committerAzul <azul@leap.se>2012-12-08 16:42:19 +0100
commit5cfabde4f04d9212af5efee805479bd1be3c5cf1 (patch)
treeab762d12bbda9c4826a9bd89a6a8d0cebf9e6d98
parent0f36c7931fe04bb3d6a3fd70a25fe1090f48e774 (diff)
moved cert into the api path
-rw-r--r--certs/config/routes.rb4
1 files changed, 3 insertions, 1 deletions
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