Remove unused cached_tagged_by_approval_with Article scope (#13892)
This commit is contained in:
parent
10ad52f12b
commit
8035d0ac42
1 changed files with 0 additions and 2 deletions
|
|
@ -219,8 +219,6 @@ class Article < ApplicationRecord
|
|||
end
|
||||
}
|
||||
|
||||
scope :cached_tagged_by_approval_with, ->(tag) { cached_tagged_with(tag).where(approved: true) }
|
||||
|
||||
scope :active_help, lambda {
|
||||
stories = published.cached_tagged_with("help").order(created_at: :desc)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue