2020-03-09 00:40:16 +08:00
|
|
|
class IgnoresController < ApplicationController
|
|
|
|
|
def index
|
2020-05-09 17:14:23 +08:00
|
|
|
#@ignores = Ignore.search(params[:name]).without_content
|
|
|
|
|
q = Ignore.ransack(name_cont: params[:name])
|
|
|
|
|
@ignores = q.result(distinct: true)
|
2020-03-09 00:40:16 +08:00
|
|
|
end
|
|
|
|
|
end
|