From 6630abe7c63850556cd6a21400b0b12a5f96a7f6 Mon Sep 17 00:00:00 2001 From: nilsding Date: Sun, 2 Nov 2014 18:16:47 +0100 Subject: [PATCH] BANG! --- app/controllers/user_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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