浏览代码

Fix 500 on viewing Person

Fixes AARDBEI-T
Maarten van den Berg 6 年之前
父节点
当前提交
cdcef2b566
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/views/people/show.html.erb

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

2
 <ul>
2
 <ul>
3
   <li><%= @person.birth_date %></li>
3
   <li><%= @person.birth_date %></li>
4
   <li><%= @person.email %></li>
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
 </ul>
6
 </ul>
7
 <%= link_to t(:edit), edit_person_path(@person) %> |
7
 <%= link_to t(:edit), edit_person_path(@person) %> |
8
 <%= link_to t(:back), people_path %>
8
 <%= link_to t(:back), people_path %>