comment updates

This commit is contained in:
Mark Moser
2017-02-13 16:12:59 -06:00
parent da5dc4bd94
commit 39ba1a8369
4 changed files with 36 additions and 12 deletions

View File

@ -52,6 +52,7 @@ Rails.application.routes.draw do
get "/admin/results", to: "admin/result#index", as: :admin_results
get "/admin/result/:test_hash", to: "admin/result#view", as: :admin_result
post "/admin/comment/:test_hash/:id", to: "admin/comment#update", as: :admin_update_comment
post "/admin/comment/:test_hash", to: "admin/comment#create", as: :admin_create_comment
get "admin/vote/:test_hash/up", to: "admin/vote#up", as: :admin_up_vote, defaults: { format: 'json' }