Skip to content
Snippets Groups Projects
Commit 628b22d0 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

fixing reviewable routes

parent cf47fc8a
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ Rails.application.routes.draw do ...@@ -30,7 +30,7 @@ Rails.application.routes.draw do
end end
concern :reviewable do concern :reviewable do
resources :reviews, except: :update, concern: :deletable do resources :reviews, only: [:index, :create, :show, :destroy], concerns: :deletable do
member do member do
post :rate post :rate
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment