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?