forum post votes: add index page.

This commit is contained in:
evazion
2019-10-27 23:05:48 -05:00
parent d617b20b49
commit 0e159960a2
10 changed files with 92 additions and 19 deletions

View File

@@ -132,7 +132,6 @@ Rails.application.routes.draw do
resource :order, :only => [:edit], :controller => "favorite_group_orders"
end
resources :forum_posts do
resource :votes, controller: "forum_post_votes"
member do
post :undelete
end
@@ -140,6 +139,7 @@ Rails.application.routes.draw do
get :search
end
end
resources :forum_post_votes, only: [:index, :create, :destroy]
resources :forum_topics do
member do
post :undelete