about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-15 10:44:59 -0400
committerEugen <eugen@zeonfederated.com>2017-04-15 16:44:59 +0200
commit6670e6d33fa735b6199e3b962f62ed6d1442bae1 (patch)
treecdd5aefe392f73cd456e2bf376645eea0f4a8754 /config
parent9d2f55ecc3cc6bef9dc79ad8faf444261736976b (diff)
Add password reset for users from admin accounts area (#1841)
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8dcd4b330..31909a4f4 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -86,6 +86,7 @@ Rails.application.routes.draw do
     end
 
     resources :accounts, only: [:index, :show] do
+      resource :reset, only: [:create]
       resource :silence, only: [:create, :destroy]
       resource :suspension, only: [:create, :destroy]
     end