From: marios <mar...@redhat.com>

https://issues.apache.org/jira/browse/DTACLOUD-460

Signed-off-by: marios <mar...@redhat.com>
---
 server/views/realms/show.xml.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/views/realms/show.xml.haml 
b/server/views/realms/show.xml.haml
index 268cb65..54052a4 100644
--- a/server/views/realms/show.xml.haml
+++ b/server/views/realms/show.xml.haml
@@ -9,6 +9,6 @@
     %limit<
       =cdata do
         =@realm.limit
-  - @realm.resource_types.each do |r|
+  - (@realm.resource_types || []).each do |r|
     %resource_type<
       =r
-- 
1.7.11.7

Reply via email to