add lb option

This commit is contained in:
Josh
2018-05-11 15:57:31 -04:00
parent b452932767
commit 0f8a4734b2
13 changed files with 183 additions and 41 deletions

View File

@ -8,7 +8,6 @@ module SessionsHelper
# Logs current user out of GreenLight.
def logout
session.delete(:user_id) if current_user
redirect_to root_path
end
# Retrieves the current user.