diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 2e9b6e42..52a1d24e 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -1,6 +1,6 @@ class UserController < ApplicationController def show - @user = User.find_by_screen_name(params[:username]) + @user = User.find_by_screen_name!(params[:username]) end def edit