From 6b4a55955f27097e66e273c324961120a3e27626 Mon Sep 17 00:00:00 2001 From: Zee Spencer <50284+zspencer@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:30:25 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Run=20the=20Linter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/furniture/tobias/record.rb | 1 - app/furniture/tobias/trusts_controller.rb | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/furniture/tobias/record.rb b/app/furniture/tobias/record.rb index eac55eb36..fdde4bf95 100644 --- a/app/furniture/tobias/record.rb +++ b/app/furniture/tobias/record.rb @@ -2,6 +2,5 @@ class Tobias class Record < ApplicationRecord self.abstract_class = true extend StripsNamespaceFromModelName - end end diff --git a/app/furniture/tobias/trusts_controller.rb b/app/furniture/tobias/trusts_controller.rb index d8af06b29..5b9564720 100644 --- a/app/furniture/tobias/trusts_controller.rb +++ b/app/furniture/tobias/trusts_controller.rb @@ -5,12 +5,12 @@ class TrustsController < FurnitureController def show authorize trust end - end + class TrustPolicy < ApplicationPolicy - def show? - true - end + def show? + true + end alias_method :entry, :object end end