diff options
author | elijah <elijah@riseup.net> | 2016-01-14 16:14:39 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-01-14 16:14:39 -0800 |
commit | 6dba1392a29a003c3334259a222061f29ff04b13 (patch) | |
tree | e3161cf87ecec5ebc095adf55f66db1e21c17cbb /config | |
parent | dd2518c40ab06f51d0f7380f1521087d3a4fbd5f (diff) |
added UI for invite codes
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en/users.en.yml | 14 | ||||
-rw-r--r-- | config/routes.rb | 1 |
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 |