<h2>Latest posts:</h2>
<br>

<% @result.each do |post| %>	
	<p>
		<em><%=post['content'] %></em> 
		<br><br>
		Added at <%=post['created_date'] %>
		<br>
		<a href="/post/<%=post['id'] %>">Comments</a>
	</p>
	<hr>					
<% end %>
<h2>Latest posts:</h2>
<br>

<% @result.each do |post| %>	
	<p>
		<em><%=post['content'] %></em> 
		<br><br>
		Added at <%=post['created_date'] %>
		<br>
		<a href="/details/<%=post['id'] %>">Comments</a>
	</p>
	<hr>					
<% end %>
Rename /post/ .. to /details/..
Rename /post/ .. to /details/..
