From 427cf08ffe34bda0c7a98e58ce2f5903c979c110 Mon Sep 17 00:00:00 2001 From: morita shingo Date: Thu, 9 May 2024 16:02:11 +0900 Subject: [PATCH] revert model alias --- lib/chanko/unit/scope_finder.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/chanko/unit/scope_finder.rb b/lib/chanko/unit/scope_finder.rb index 5146fe4..8d22726 100644 --- a/lib/chanko/unit/scope_finder.rb +++ b/lib/chanko/unit/scope_finder.rb @@ -30,6 +30,7 @@ def class? def label label_scope_map = { :controller => ActionController::Base, + :model => ActiveRecord::Base, :view => ActionView::Base }