mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
8 lines
252 B
Ruby
8 lines
252 B
Ruby
class ProjectLanguagesController < ApplicationController
|
|
def index
|
|
#@project_languages = ProjectLanguage.search(params[:name]).
|
|
q = ProjectLanguage.ransack(name_cont: params[:name])
|
|
@project_languages = q.result(distinct: true)
|
|
end
|
|
end
|