Skip to content

Commit

Permalink
add reviews resources to :courses
Browse files Browse the repository at this point in the history
  • Loading branch information
rifrifqyqy committed Nov 6, 2024
1 parent f785b6c commit 27df061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
# root "posts#index"
resources :courses do
resources :materials, except: [:index]
resources :reviews, only: [:create]
end
# routes untuk course/new
root "pages#homepage"
Expand Down

0 comments on commit 27df061

Please sign in to comment.