Просмотр исходного кода

Fix 500 on viewing Person

Fixes AARDBEI-T
Maarten van den Berg лет назад: 6
Родитель
Сommit
cdcef2b566
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/views/people/show.html.erb

+ 1 - 1
app/views/people/show.html.erb

@@ -2,7 +2,7 @@
2 2
 <ul>
3 3
   <li><%= @person.birth_date %></li>
4 4
   <li><%= @person.email %></li>
5
-  <li>AttendanceReminder: <%= @person.send_attendance_reminder.to_i %></li>
5
+  <li>AttendanceReminder: <%= @person.send_attendance_reminder.to_s %></li>
6 6
 </ul>
7 7
 <%= link_to t(:edit), edit_person_path(@person) %> |
8 8
 <%= link_to t(:back), people_path %>