summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-17 11:42:13 +0200
committerAzul <azul@leap.se>2014-04-17 11:42:13 +0200
commit8cc5ba134f6c5a1a06d91407aa78b962545c54ac (patch)
tree889e33e956ff52bb9246ae1e866b4ba131d20bae /config/routes.rb
parent3513ad74f950b113af1ba1e3d06bc6a55c48fde5 (diff)
initial commit for the service level api
:api/service will return a hash of the current users service level This is failiing if the user is not logged in. Instead it should return the service description for an anonymous user.
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index b930bd1..f612b47 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -25,6 +25,7 @@ LeapWeb::Application.routes.draw do
resources :users, :only => [:create, :update, :destroy, :index]
resources :messages, :only => [:index, :update]
resource :cert, :only => [:show]
+ resource :service, :only => [:show]
end
scope "(:locale)", :locale => MATCH_LOCALE do