summaryrefslogtreecommitdiff
path: root/users/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-04 01:33:09 -0700
committerelijah <elijah@riseup.net>2013-07-04 04:12:59 -0700
commit89ad6bd802f9e57c687e8cdb8593c3984e2fbd1b (patch)
tree3079996a475e947deece071fc6b1caea3edb1f80 /users/config
parent33f55eed348769e1d14b283ec36b8f1bfc2d3c98 (diff)
fix user typeahead
Diffstat (limited to 'users/config')
-rw-r--r--users/config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/config/routes.rb b/users/config/routes.rb
index 9eff2a1..693ae7a 100644
--- a/users/config/routes.rb
+++ b/users/config/routes.rb
@@ -5,7 +5,7 @@ Rails.application.routes.draw do
defaults: {format: 'json'} } do
resources :sessions, :only => [:new, :create, :update]
delete "logout" => "sessions#destroy", :as => "logout"
- resources :users, :only => [:create, :update, :destroy]
+ resources :users, :only => [:create, :update, :destroy, :index]
end
get "login" => "sessions#new", :as => "login"