From a4a6e58bab3d1881a66636c60a55be5cb7445eec Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 12 Apr 2013 13:14:52 -0400 Subject: [PATCH] Update index to list sections --- app/views/alerts/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/alerts/index.html.erb b/app/views/alerts/index.html.erb index 91bde26..3a91420 100644 --- a/app/views/alerts/index.html.erb +++ b/app/views/alerts/index.html.erb @@ -9,6 +9,7 @@ <%= model_class.human_attribute_name(:user_id) %> <%= model_class.human_attribute_name(:department) %> <%= model_class.human_attribute_name(:course) %> + <%= model_class.human_attribute_name(:sections) %> <%= model_class.human_attribute_name(:semester) %> <%= model_class.human_attribute_name(:alerted) %> <%= model_class.human_attribute_name(:created_at) %> @@ -22,6 +23,7 @@ <%= alert.user_id %> <%= alert.department %> <%= alert.course %> + <%= alert.sections.join(', ') %> <%= alert.semester %> <%= alert.alerted %> <%=l alert.created_at %>