diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/routes.rb | 10 |
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: { |
