app/views/admin/pages/index.html.erb in shakespeare-0.3.2 vs app/views/admin/pages/index.html.erb in shakespeare-0.3.4
- old
+ new
@@ -8,15 +8,17 @@
<p>No pages have been added yet.</p>
<%- else -%>
<table>
<tr>
<th>Title</th>
+ <th>URL</th>
<th> </th>
</tr>
<%- @pages.each do |page| -%>
<tr>
<td><%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>)</td>
+ <td><%= page.url %></td>
<td><%= link_to "Delete", admin_page_path(page), :method => :delete %></td>
</tr>
<%- end -%>
</table>
\ No newline at end of file