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
post '/login/reset_password' => 'login#reset_password', as: :reset_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]
resources :sessions, :only => [:new, :create, :destroy]