申请加入项目删除邮件

This commit is contained in:
huang 2016-07-29 23:37:31 +08:00
parent 15227907ea
commit 30ce469483
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class AppliedProjectController < ApplicationController
role = params[:member] == "member_manager" ? 3 : (params[:member] == "member_developer" ? 4 :5) role = params[:member] == "member_manager" ? 3 : (params[:member] == "member_developer" ? 4 :5)
applied_project = AppliedProject.create(:user_id => User.current.id, :project_id => @project.id, :role => role) applied_project = AppliedProject.create(:user_id => User.current.id, :project_id => @project.id, :role => role)
# 申请成功则给项目管理员发送邮件及发送消息 # 申请成功则给项目管理员发送邮件及发送消息
Mailer.run.applied_project(applied_project) # Mailer.run.applied_project(applied_project)
end end
end end