Fixed broken login#update_password route.

This commit is contained in:
Benjamin Meichsner 2014-10-05 20:35:28 +02:00
parent 8e04074cd3
commit b961037fff

View file

@ -20,7 +20,7 @@ Foodsoft::Application.routes.draw do
get '/login/forgot_password' => 'login#forgot_password', as: :forgot_password get '/login/forgot_password' => 'login#forgot_password', as: :forgot_password
post '/login/reset_password' => 'login#reset_password', as: :reset_password post '/login/reset_password' => 'login#reset_password', as: :reset_password
get '/login/new_password' => 'login#new_password', as: :new_password get '/login/new_password' => 'login#new_password', as: :new_password
put '/login/update_password' => 'login#update_password', as: :update_password patch '/login/update_password' => 'login#update_password', as: :update_password
match '/login/accept_invitation/:token' => 'login#accept_invitation', as: :accept_invitation, via: [:get, :post] match '/login/accept_invitation/:token' => 'login#accept_invitation', as: :accept_invitation, via: [:get, :post]
resources :sessions, :only => [:new, :create, :destroy] resources :sessions, :only => [:new, :create, :destroy]
@ -42,7 +42,7 @@ Foodsoft::Application.routes.draw do
get :receive get :receive
post :receive post :receive
get :receive_on_order_article_create get :receive_on_order_article_create
get :receive_on_order_article_update get :receive_on_order_article_update
end end
@ -98,10 +98,10 @@ Foodsoft::Application.routes.draw do
get :copy get :copy
collection do collection do
get :derive get :derive
get :index_on_stock_article_create get :index_on_stock_article_create
get :index_on_stock_article_update get :index_on_stock_article_update
get :show_on_stock_article_update get :show_on_stock_article_update
end end
end end
@ -112,7 +112,7 @@ Foodsoft::Application.routes.draw do
resources :deliveries do resources :deliveries do
collection do collection do
post :add_stock_change post :add_stock_change
get :form_on_stock_article_create get :form_on_stock_article_create
get :form_on_stock_article_update get :form_on_stock_article_update
end end
@ -150,7 +150,7 @@ Foodsoft::Application.routes.draw do
get :confirm get :confirm
patch :close patch :close
patch :close_direct patch :close_direct
get :new_on_order_article_create get :new_on_order_article_create
get :new_on_order_article_update get :new_on_order_article_update
end end