Adjusts language

This commit is contained in:
Jennifer Siegfried
2016-08-04 07:51:54 -06:00
parent 7f72e6eabd
commit f83add726b
9 changed files with 27 additions and 20 deletions

View File

@ -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

View File

@ -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