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