Plataforma de gestão de sócios e lembretes de pagamentos de quotas com integração ifthenpay.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Rails.application.routes.draw do
|
|
|
|
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
|
|
|
|
|
|
|
# Defines the root path route ("/")
|
|
|
|
# root "articles#index"
|
|
|
|
#
|
|
|
|
root to: redirect('/members')
|
|
|
|
|
|
|
|
resources :members do
|
|
|
|
member do
|
|
|
|
get :delete
|
|
|
|
end
|
|
|
|
resources :contributions, only: [:new, :create]
|
|
|
|
end
|
|
|
|
|
|
|
|
resources :contributions, only: [:edit, :update, :destroy] do
|
|
|
|
member do
|
|
|
|
get :delete
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
resources :notifications, only: [:index] do
|
|
|
|
member do
|
|
|
|
post :deliver
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
resource :board, only: [:edit, :update]
|
|
|
|
resource :letters, only: [:create]
|
|
|
|
end
|