add combined flag+appeal listing for posts #262

This commit is contained in:
r888888888
2015-07-28 15:45:01 -07:00
parent 1c81c303d6
commit f483d0e7a8
7 changed files with 151 additions and 2 deletions

View File

@@ -183,6 +183,7 @@ Rails.application.routes.draw do
end
resources :pool_versions, :only => [:index]
resources :posts do
resources :events, :only => [:index], :controller => "post_events"
resources :votes, :controller => "post_votes", :only => [:create, :destroy]
collection do
get :home