test sessions controller

This commit is contained in:
Zachary Chai
2017-03-03 10:30:29 -05:00
parent eaaec47fe6
commit bfd815abe0
4 changed files with 50 additions and 5 deletions

View File

@@ -34,4 +34,8 @@ class SessionsController < ApplicationController
end
redirect_to root_path
end
def auth_failure
redirect_to '/'
end
end