login with provider in personal room

This commit is contained in:
Zachary Chai
2016-10-20 10:15:56 -04:00
parent e1ab78ec63
commit 4ec17344eb
4 changed files with 6 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ class UsersController < ApplicationController
def set_user
@user = User.find(params[:id])
if @user.username
raise ActionController::RoutingError.new('Not Found')
render 'errors/error'
end
end