small wording change for submitted application

This commit is contained in:
Torsten Ruger 2017-06-07 16:57:15 +03:00
parent c7f72db0d3
commit 530f9b37f9
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ class AppliesController < ApplicationController
@apply.user = current_user
if @apply.save
redirect_to application_path, notice: 'Application was successfully submitted. Your will receive further instructions from us within a week'
redirect_to application_path, notice: 'We will be in touch by email within a week.'
ApplyMailer.submit( @apply ).deliver_later
else
render :edit
@ -27,7 +27,6 @@ class AppliesController < ApplicationController
end
private
# Use callbacks to share common setup or constraints between actions.
def set_apply
@apply = current_user.application || Apply.new
end

View File

@ -7,7 +7,7 @@
%p
We have received your application on the
=@apply.created_at.to_date.to_s
and are processing it. We will be in touch by email.
and are processing it.
%p#notice= notice
%p