diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-14 13:25:16 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 13:25:16 +0300 |
commit | 1b5c483d89d9a20a92e98fc37879389ee2c8dd00 (patch) | |
tree | 6f6fbe838ee7504e5a93df8a3da28fca5849acee /app/controllers/invites_controller.rb | |
parent | e50556fcc8d81dae5978bcb3e1dd5104789aab0f (diff) |
Consistently use "invitation" rather than "invite" in text.
Diffstat (limited to 'app/controllers/invites_controller.rb')
-rw-r--r-- | app/controllers/invites_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/invites_controller.rb b/app/controllers/invites_controller.rb index 1b236a48e90..00d274a7f1d 100644 --- a/app/controllers/invites_controller.rb +++ b/app/controllers/invites_controller.rb @@ -28,7 +28,7 @@ class InvitesController < ApplicationController redirect_to path, notice: "You have been granted #{member.human_access} access to #{source}." else - redirect_to :back, alert: "The invite could not be accepted." + redirect_to :back, alert: "The invitation could not be accepted." end end @@ -52,9 +52,9 @@ class InvitesController < ApplicationController new_user_session_path end - redirect_to path, notice: "You have declined the invite to join #{source}." + redirect_to path, notice: "You have declined the invitation to join #{label}." else - redirect_to :back, alert: "The invite could not be declined." + redirect_to :back, alert: "The invitation could not be declined." end end |