correct user passwd and sent json to front-end
This commit is contained in:
1 parent
72915cdfaa
commit
5c8df7bafc
3 files changed
+8
-18
No files matched your search
@@ -109,7 +109,6 @@ Devise.setup do |config|
|
||||
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
||||
# "users/sessions/new". It's turned off by default because it's slower if you
|
||||
# are using only default views.
|
||||
# config.scoped_views = true
|
||||
|
||||
# Configure the default scope given to Warden. By default it's the first
|
||||
# devise role declared in your routes.
|
||||
|
||||
+4
-1
@@ -1,5 +1,8 @@
|
||||
Orbit::Application.routes.draw do
|
||||
devise_for :users
|
||||
devise_for :users do
|
||||
match "/users_passwd" => "desktop/registrations#update", :as => :users_passwd, :via => :put
|
||||
end
|
||||
|
||||
mount Resque::Server, :at => "/admin/resque"
|
||||
|
||||
# routes for sinatra app
|
||||
|
||||
Reference in new issue
Block a user