Logout command

This commit is contained in:
Martin Lensment 2014-06-25 13:13:16 +03:00
parent b812ea384e
commit 44b257efa3
11 changed files with 90 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Rails.application.routes.draw do
namespace(:epp) do
match 'session/:command', to: 'sessions#proxy', defaults: { format: :xml }, via: [:get, :post]
match 'command/:command', to: 'commands#proxy', defaults: { format: :xml }, via: [:post, :get]
end
# The priority is based upon order of creation: first created -> highest priority.