-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af3d876
commit 8b1a8e7
Showing
3 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
<div class="container"> | ||
<div class="row"> | ||
<h3>Users</h3> | ||
<div class="column"> | ||
<table class="table"> | ||
<tbody> | ||
<% @users.each do |user| %> | ||
<tr> | ||
<%= render user %> | ||
</tr> | ||
<% end %> | ||
</tbody> | ||
</table> | ||
</div> | ||
<h3>I want to ...</h3> | ||
<a><button type="button" class="btn btn-default btn-lg">Order</button></a> | ||
<a><button type="button" class="btn btn-default btn-lg">Deliver</button></a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Rails.application.routes.draw do | ||
root to: 'visitors#index' | ||
root to: 'users#index' | ||
devise_for :users | ||
resources :users | ||
end |