13 lines
331 B
Ruby
13 lines
331 B
Ruby
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"
|
|
|
|
resources :members do
|
|
resources :contributions, only: [:new, :create]
|
|
end
|
|
|
|
resources :contributions, only: [:edit, :update]
|
|
end
|