diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3910cf6..92fce3d 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -19,9 +19,16 @@ <%= submit_tag("Go", {:class => "btn btn-warning"}) %> <% end %> </div> + <li> + <%= link_to "Sign out", signout_path, method: "delete" %> + </li> </header> </div> + <% if signed_in? %> + <li> <%= current_user.user_name %> </li> + <% end %> + <div class="container"> <%= yield %> </div> |