Skip to content

Commit e0d6111

Browse files
committed
Rewrite attribute iterator on the template. The ruby-saml lib changed the way to handle attributes
1 parent 756f4e7 commit e0d6111

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/views/saml/complete.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<% if @attrs.any? %>
66
<table><thead><th>Name</th><th>Values</th></thead><tbody>
77

8-
<% @attrs.each_pair do |key,attr_value| %>
8+
<% @attrs.each do |key,attr_value| %>
99

1010
<tr><td><%= key %></td>
1111
<td>
12-
<% if attr_value.values.any? %>
12+
<% if attr_value.any? %>
1313
<ul>
14-
<% attr_value.values.each do |val| %>
14+
<% attr_value.each do |val| %>
1515
<li><%= val %></li>
1616
<% end %>
1717
</ul>

0 commit comments

Comments
 (0)