diff options
author | Timothy Andrew <mail@timothyandrew.net> | 2016-04-15 13:06:44 +0530 |
---|---|---|
committer | Timothy Andrew <mail@timothyandrew.net> | 2016-04-28 22:28:36 +0530 |
commit | 3a609038748055a27c7e01cf4b55d8249709c9cc (patch) | |
tree | b6ec5626549f2c423b958b8ebc3c08061388a4ca /config | |
parent | 973b948b9e9553a57113983fa4e32207b581e0ad (diff) | |
download | gitlab-ce-3a609038748055a27c7e01cf4b55d8249709c9cc.tar.gz |
Allow creating Personal Access Tokens through the website.
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index d664434e1a6..d1be826d2a1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -333,6 +333,7 @@ Rails.application.routes.draw do resources :keys resources :emails, only: [:index, :create, :destroy] resource :avatar, only: [:destroy] + resources :personal_access_tokens, only: [:index, :create] resource :two_factor_auth, only: [:new, :create, :destroy] do member do post :codes |