1
0
Fork 0
This repository has been archived on 2023-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
lesson-decentralized_microb.../config/routes.rb

9 lines
260 B
Ruby
Raw Normal View History

2021-03-10 04:14:56 -05:00
Rails.application.routes.draw do
2021-03-10 04:20:04 -05:00
root to: 'home#show'
2021-03-10 04:40:17 -05:00
2021-03-10 06:09:15 -05:00
resources :profiles, only: %i[index show] do
resources :followers, controller: 'profiles/followers', only: :index
resources :following, controller: 'profiles/following', only: :index
end
2021-03-10 04:14:56 -05:00
end