mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 19:53:05 +08:00
8 lines
220 B
Ruby
8 lines
220 B
Ruby
class IgnoresController < ApplicationController
|
|
def index
|
|
#@ignores = Ignore.search(params[:name]).without_content
|
|
q = Ignore.ransack(name_cont: params[:name])
|
|
@ignores = q.result(distinct: true)
|
|
end
|
|
end
|