Fix route bugs for nonprofits_controller
This commit is contained in:
parent
b4ebaa8102
commit
cb1c5f2f8c
1 changed files with 4 additions and 4 deletions
|
@ -121,11 +121,11 @@ Rails.application.routes.draw do
|
||||||
|
|
||||||
resources(:nonprofits, {only: [:show, :create, :update, :destroy]}) do
|
resources(:nonprofits, {only: [:show, :create, :update, :destroy]}) do
|
||||||
post(:onboard, {on: :collection})
|
post(:onboard, {on: :collection})
|
||||||
get(:profile_todos)
|
get(:profile_todos, {on: :member})
|
||||||
get(:recurring_donation_stats)
|
get(:recurring_donation_stats, {on: :member})
|
||||||
get(:search, {on: :collection})
|
get(:search, {on: :collection})
|
||||||
get(:dashboard_todos)
|
get(:dashboard_todos, {on: :member})
|
||||||
put(:verify_identity)
|
put(:verify_identity, {on: :member})
|
||||||
|
|
||||||
|
|
||||||
resources(:roles, {only: [:create, :destroy]})
|
resources(:roles, {only: [:create, :destroy]})
|
||||||
|
|
Loading…
Reference in a new issue