プロジェクト

全般

プロフィール

« | » 

リビジョン fe492e04

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

[phase-11]add attachable, but have permission problem

差分を表示:

app/controllers/glossary_terms_controller.rb
def update
@term.attributes = glossary_term_params
@term.save_attachments(params[:attachments])
render_attachment_warning_if_needed(@term)
if @term.save
redirect_to [@project, @term], notice: l(:notice_successful_update)
end

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