diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/application.html.erb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 92fce3d..67848f6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -19,16 +19,15 @@ <%= submit_tag("Go", {:class => "btn btn-warning"}) %> <% end %> </div> + <% if signed_in? %> + <li> <%= current_user.user_name.upcase %> </li> + <% end %> <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> |