プロジェクト

全般

プロフィール

« | » 

リビジョン b8dc04a8

Massimo Rossello さんがほぼ13年前に追加

Support for redmine 2.3.x

差分を表示:

app/controllers/glossary_controller.rb
def edit
@term_categories = TermCategory.find(:all, :conditions => "project_id = #{@project.id}", :order => "position")
if request.post?
if request.post? || request.put?
@term.attributes = params[:term]
@term.updater_id = User.current.id
if @term.save
attach_files(@term, params[:attachments])
flash[:notice] = l(:notice_successful_update)
redirect_to(:controller => 'glossary', :action => 'show',
:project_id => @project, :id => @term.id)
redirect_to(:controller => 'glossary', :action => 'show',
:project_id => @project, :id => @term.id)
return
end
end

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