diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,7 +1,7 @@ # Methods added to this helper will be available to all templates in the application. module ApplicationHelper - def user_options + def user_header options = '' user = User.find(session[:user_id]) if user.admin? diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml --- a/app/views/layouts/application.rhtml +++ b/app/views/layouts/application.rhtml @@ -10,8 +10,8 @@ -
-<%= user_options %> +
+<%= user_header %>

<%= flash[:notice] %>

diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -14,7 +14,7 @@ margin-bottom: 2px } -div.usermenu { +div.userbar { border-top: thin solid grey; border-bottom: thin solid grey; text-align: right;