about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 13:24:24 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-21 13:24:24 -0400
commit0d50b1f18993827cb6862efeedea528b64fad164 (patch)
tree3e01bd704662742a8847bd281616e29f06249cfa /config
parent35906f26e24467c52b6cf09346abe57444e5963a (diff)
downloadthoughts-0d50b1f18993827cb6862efeedea528b64fad164.tar.gz
thoughts-0d50b1f18993827cb6862efeedea528b64fad164.tar.bz2
thoughts-0d50b1f18993827cb6862efeedea528b64fad164.zip
Added quote moderation panel
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb10
1 files changed, 10 insertions, 0 deletions
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
27 post 'mark_spam' 27 post 'mark_spam'
28 end 28 end
29 end 29 end
30
31 resources :quotes, only: [:index, :destroy] do
32 collection do
33 get 'pending'
34 end
35
36 member do
37 post 'accept'
38 end
39 end
30 end 40 end
31 41
32 devise_for :users, controllers: { 42 devise_for :users, controllers: {