diff options
author | Azul <azul@leap.se> | 2013-01-23 09:23:18 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-23 09:25:06 +0100 |
commit | def5a00415ebced58bb0f7c1254f6cbedb27a23f (patch) | |
tree | 2cb30a9ed81802cac6dfcd7b5b520d436503d603 /app/controllers | |
parent | efe76ee1d9badbad12b0cc42affb7b3d0572797c (diff) |
make raising not found error less confusing
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/application_controller.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a1ea008..06b245a 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,4 @@ class ApplicationController < ActionController::Base ActiveSupport.run_load_hooks(:application_controller, self) - def not_found - raise RECORD_NOT_FOUND.new('Not Found') - end end |