app/views/as_user/users/index.html.erb in as_user-0.0.3 vs app/views/as_user/users/index.html.erb in as_user-0.0.4
- old
+ new
@@ -1,6 +1,10 @@
-<h1>users</h1>
+<%= content_for :nav do %>
+ <%= link_to 'Signin', signin_path %>
+ <span class="line">|</span>
+ <%= link_to 'Signup', signup_path %>
+<% end %>
<table>
<tr>
<th>Id</th>
<th>Email</th>
@@ -14,9 +18,6 @@
<td><%= user.name %></td>
</tr>
<% end %>
</table>
-<br />
-
-<%= link_to 'New User', new_user_path %>
-<%= link_to 'Signin', signin_path %>
+<%=paginate @users%>