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 071c86b..b36c0c5 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -19,6 +19,9 @@ <%= submit_tag("Go", {:class => "btn btn-warning"}) %> <% end %> </div> + <% if signed_in? %> + <li> <%= current_user.user_name.upcase %> </li> + <% end %> <li> <%= if signed_in? do %> <%= link_to "Sign out", signout_path, method: "delete" %> @@ -27,10 +30,6 @@ </header> </div> - <% if signed_in? %> - <li> <%= current_user.user_name %> </li> - <% end %> - <div class="container"> <%= yield %> </div> |