diff options
author | Peter Kozak <spag@golwen.net> | 2013-08-13 07:27:36 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-08-13 07:27:36 +0200 |
commit | a0e3855a0c56c5d2e899b175e3acff8d90858598 (patch) | |
tree | d1e8596f12ed1092b9b593d759e4f63964016705 /app/views/gateways | |
parent | b579a1b150d2aeca1576d7ea4baebafd2f2a1146 (diff) |
list gateway headers
Diffstat (limited to 'app/views/gateways')
-rw-r--r-- | app/views/gateways/show.xml.haml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/gateways/show.xml.haml b/app/views/gateways/show.xml.haml index e0ff21a..1642ccc 100644 --- a/app/views/gateways/show.xml.haml +++ b/app/views/gateways/show.xml.haml @@ -5,6 +5,10 @@ - @gateway.gateway_settings.each do |setting| %setting{ :name => setting.name, :value => setting.value, :class_type => setting.class_type, :description => setting.description } + %gateway_headers{ :count => @gateway.gateway_headers.count } + - @gateway.gateway_headers.each do |header| + %header{ :header_type => header.header_type, :constraint => header.constraint_value, :name => header.name, :value => header.value, :description => header.description } + %gateway_parameters{ :count => @gateway.gateway_parameters.count } - @gateway.gateway_parameters.each do |parameter| %parameter{ :name => parameter.name, :value => parameter.value, :class_type => parameter.class_type, :description => parameter.description } |