From ac30297aa8ea94aaeb70088938393e1152683c77 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Fri, 30 Apr 2021 02:25:05 +0200 Subject: [PATCH] linting --- app/controllers/providers_controller.rb | 1 - app/controllers/v3/providers_controller.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/controllers/providers_controller.rb b/app/controllers/providers_controller.rb index e97dc3371..ceffcf52a 100644 --- a/app/controllers/providers_controller.rb +++ b/app/controllers/providers_controller.rb @@ -399,7 +399,6 @@ def set_provider where(symbol: params[:id]). first end - fail ActiveRecord::RecordNotFound if @provider.blank? end diff --git a/app/controllers/v3/providers_controller.rb b/app/controllers/v3/providers_controller.rb index 8524c7d40..72ca76ea1 100644 --- a/app/controllers/v3/providers_controller.rb +++ b/app/controllers/v3/providers_controller.rb @@ -393,7 +393,6 @@ def set_provider where(symbol: params[:id]). first end - fail ActiveRecord::RecordNotFound if @provider.blank? end