Merge branch 'rep_quality' of https://git.trustie.net/jacknudt/trustieforge into rep_quality

This commit is contained in:
huang 2016-08-10 10:59:10 +08:00
commit f2a13540a2
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class AppliedProjectController < ApplicationController
else else
@project = Project.find(params[:project_id]) @project = Project.find(params[:project_id])
end end
if !@project || params[:invite_code].upcase.to_s != @project.invite_code if !@project || params[:invite_code].strip.upcase.to_s != @project.invite_code
@flag = 1 @flag = 1
elsif User.current.member_of?(@project) elsif User.current.member_of?(@project)
@flag = 2 @flag = 2