fallback for when nick is nil

This commit is contained in:
wvengen 2013-10-29 18:58:04 +01:00
parent e968919cce
commit 9ba425aafa
6 changed files with 12 additions and 6 deletions

View file

@ -14,7 +14,7 @@
%tbody
- for user in @users
%tr
%td= link_to show_user(user, full: true), [:admin, user]
%td= link_to show_user(user), [:admin, user]
- if FoodsoftConfig[:use_nick]
%td= user.name
%td= user.email