From 5130a431da1141d0c6094b064addb55c429c8c44 Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Mon, 1 Dec 2014 17:28:34 +0100 Subject: [PATCH] Add problem ID to problem listing --- app/views/problems/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/problems/index.html.erb b/app/views/problems/index.html.erb index 5627ebf..c494eeb 100644 --- a/app/views/problems/index.html.erb +++ b/app/views/problems/index.html.erb @@ -3,6 +3,7 @@ + @@ -12,6 +13,7 @@ <% @problems.each do |problem| %> +
ID Title Content
<%= problem.id %> <%= problem.title %> <%= problem.content %> <%= link_to 'Show', problem %>