Created
April 16, 2014 16:49
-
-
Save fresh5447/10905761 to your computer and use it in GitHub Desktop.
Sign out error
This file contains hidden or 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
| <h1>Welcome to Freshitoff</h1> | |
| <p>A simple application for createing To-Do lists.</p> | |
| <div class="btn-group-vertical"> | |
| <% @todos.each do |todo| %> | |
| <button type="button" class="btn btn-default"><%= todo.description %></button> | |
| <% end %> | |
| </div> | |
| <ul class="nav nav-pills"> | |
| <li><a href="#"><%= link_to("Create a new todo", new_todo_path) if current_user %></a></li> | |
| <li><a href="#"><%= link_to("Sign out", destroy_user_session_path, method: :delete) if current_user %></a></li> | |
| </ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment