プロジェクト

全般

プロフィール

« | » 

リビジョン de8ef224

高徹 高橋 徹 さんが約6年前に追加

[phase-10]add radio_button to select terms view with grouping by categories or without grouping.

差分を表示:

app/controllers/glossary_terms_controller.rb
def index
@glossary_terms = GlossaryTerm.where(project_id: @project.id)
@glossary_terms = @glossary_terms.search_by_name(params[:index]) unless params[:index].nil?
@grouping = params[:grouping]
end
def new

他の形式にエクスポート: Unified diff