From c06f14fa658d3eaa0255f94b9a97f81104cf3b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 6 Jan 2021 15:40:01 +0100 Subject: [PATCH] Remove unused method in cards controller This method isn't necessary since commit 71601bd3f. --- app/controllers/admin/widget/cards_controller.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/controllers/admin/widget/cards_controller.rb b/app/controllers/admin/widget/cards_controller.rb index 097babad3..066ce2bfa 100644 --- a/app/controllers/admin/widget/cards_controller.rb +++ b/app/controllers/admin/widget/cards_controller.rb @@ -67,8 +67,4 @@ class Admin::Widget::CardsController < Admin::BaseController def page ::SiteCustomization::Page.find(@card.site_customization_page_id) end - - def resource - Widget::Card.find(params[:id]) - end end