diff options
| author | mo <mo.khan@gmail.com> | 2017-12-19 11:24:58 -0700 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2017-12-19 11:24:58 -0700 |
| commit | 56850c706ab399c11c69bb5a2c92f4a1c148e5a5 (patch) | |
| tree | ae02cfaae2a13dc3d52e3206e276738897350551 | |
| parent | 95396e423e2cfe4fec3362842b437be85f2dbfcd (diff) | |
| parent | 940041af09fbe6dfc0a22404b229a3e4fb843996 (diff) | |
Merge branch 'master' of gitlab.com:xlgmokha/saml-kit-airport
| -rw-r--r-- | app/views/providers/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/providers/index.html.erb b/app/views/providers/index.html.erb index 0944805..f8d3abe 100644 --- a/app/views/providers/index.html.erb +++ b/app/views/providers/index.html.erb @@ -28,7 +28,7 @@ <%= link_to metadata.entity_id, identity_provider_path(metadata) %> <ul> <% current_user(metadata.entity_id).attributes.each do |attribute| %> - <li title="<%= attribute[1] %>"> <%= attribute[0] %> <%= attribute[1].truncate(32) %> </li> + <li title="<%= attribute[1] %>"> <%= attribute[0] %> <%= attribute[1].try(:truncate, 32) %> </li> <% end if current_user?(metadata.entity_id) %> </ul> </td> |
