diff --git a/app/controllers/concerns/find_resource.rb b/app/controllers/concerns/find_resource.rb index a0df15e4c7..8a4a5535e7 100644 --- a/app/controllers/concerns/find_resource.rb +++ b/app/controllers/concerns/find_resource.rb @@ -18,11 +18,7 @@ def resource end def resource_exists? - begin - Resource[resource_id] ? true : false - rescue NotFound - false - end + Resource[resource_id] ? true : false end def resource_visible?