summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/locales/en/users.en.yml14
-rw-r--r--config/routes.rb1
2 files changed, 14 insertions, 1 deletions
diff --git a/config/locales/en/users.en.yml b/config/locales/en/users.en.yml
index f2e60af..b9f1724 100644
--- a/config/locales/en/users.en.yml
+++ b/config/locales/en/users.en.yml
@@ -11,7 +11,6 @@ en:
username: "Username"
password: "Password"
password_confirmation: "Password confirmation"
- invite_code: "Invite code"
change_password: "Change Password"
invalid_user_pass: "Not a valid username/password combination"
invalid_ephemeral: "Invalid random key used. This looked like an attempt to hack the site to us. If it wasn't please contact support so we can look into the issue."
@@ -69,6 +68,19 @@ en:
user_enabled_message: "User with username '%{username}' has been enabled."
#
+ # Invites
+ #
+ invite_code: "Invite code"
+ invite_codes: "Invites"
+ invites: "Invites"
+ code: "Code"
+ uses: "Uses"
+ helpers:
+ submit:
+ invites:
+ create: "Create"
+
+ #
# rails
#
activemodel:
diff --git a/config/routes.rb b/config/routes.rb
index c420205..da6edce 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -50,6 +50,7 @@ LeapWeb::Application.routes.draw do
post 'enable', on: :member
end
+ resources :invite_codes, :only => [:index, :destroy, :create]
resources :identities, :only => [:index, :destroy]
end