From 0d50b1f18993827cb6862efeedea528b64fad164 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 21 Oct 2023 13:24:24 -0400 Subject: Added quote moderation panel --- config/routes.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 493102b..7e22946 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -27,6 +27,16 @@ Rails.application.routes.draw do post 'mark_spam' end end + + resources :quotes, only: [:index, :destroy] do + collection do + get 'pending' + end + + member do + post 'accept' + end + end end devise_for :users, controllers: { -- cgit 1.4.1