Adjusts language
This commit is contained in:
@ -18,7 +18,7 @@ class RecruiterController < ApplicationController
|
||||
RecruiterMailer.candidate_created(@candidate).deliver_now
|
||||
redirect_to recruiter_path, flash: { notice: "Sucessfully created candidate #{@candidate.name}" }
|
||||
else
|
||||
flash[:error] = "Failed to save Candidate."
|
||||
flash[:error] = "Failed to save candidate."
|
||||
render :form
|
||||
end
|
||||
end
|
||||
@ -34,7 +34,7 @@ class RecruiterController < ApplicationController
|
||||
session[:user] = recruiter.to_i
|
||||
redirect_to recruiter_path
|
||||
else
|
||||
redirect_to recruiter_login_path, flash: { error: "Sorry, incorrect email or password." }
|
||||
redirect_to recruiter_login_path, flash: { error: "Sorry, incorrect email or password. Please try again." }
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -22,7 +22,7 @@ class ReviewController < ApplicationController
|
||||
session[:user] = reviewer.to_i
|
||||
redirect_to review_path
|
||||
else
|
||||
redirect_to review_login_path, flash: { error: "Sorry, incorrect email or password." }
|
||||
redirect_to review_login_path, flash: { error: "Sorry, incorrect email or password. Please try again." }
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user