changeset 49:c09020fc73f5

Empty rescue instead of random nil.
author Edho Arief <edho@myconan.net>
date Thu, 04 Oct 2012 03:08:00 +0700
parents f649b46fca4f
children 86948069ef60
files app/controllers/pastes_controller.rb
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/controllers/pastes_controller.rb	Thu Oct 04 03:05:43 2012 +0700
+++ b/app/controllers/pastes_controller.rb	Thu Oct 04 03:08:00 2012 +0700
@@ -18,7 +18,6 @@
     begin
       @paste.paste = Paste.find(params[:base]).paste
     rescue
-      nil
     end
 
     respond_to do |format|