From cb1c5f2f8c54806e15229d072509e22d5daabebd Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Mon, 28 Jan 2019 14:28:15 -0600 Subject: [PATCH] Fix route bugs for nonprofits_controller --- config/routes.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b56dd437..ca533d11 100755 --- a/config/routes.rb +++ b/config/routes.rb @@ -121,11 +121,11 @@ Rails.application.routes.draw do resources(:nonprofits, {only: [:show, :create, :update, :destroy]}) do post(:onboard, {on: :collection}) - get(:profile_todos) - get(:recurring_donation_stats) + get(:profile_todos, {on: :member}) + get(:recurring_donation_stats, {on: :member}) get(:search, {on: :collection}) - get(:dashboard_todos) - put(:verify_identity) + get(:dashboard_todos, {on: :member}) + put(:verify_identity, {on: :member}) resources(:roles, {only: [:create, :destroy]})