From 662f11f6894ad98040ed7573e18ac62d43cd2f54 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 27 Oct 2014 17:46:17 -0400 Subject: [PATCH] add forgot password form url to accessible signed out urls --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c40854db..a44cab7d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -36,7 +36,7 @@ private path = request.env["PATH_INFO"] - accessible_urls = ["/", new_user_registration_path, new_user_session_path, user_registration_path, new_user_password_path, edit_user_password_path] + accessible_urls = ["/", new_user_registration_path, new_user_session_path, user_registration_path, user_password_path, new_user_password_path, edit_user_password_path] unless accessible_urls.include?(path) store_location_for(:user, path) and redirect_to root_url, notice: "You must be logged in."