diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 068c92d1400..637e5c1bac4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -101,6 +101,7 @@ Rails.application.routes.draw do resources :snippets do member do get 'raw' + post :toggle_award_emoji end end @@ -110,7 +111,6 @@ Rails.application.routes.draw do # # Invites # - resources :invites, only: [:show], constraints: { id: /[A-Za-z0-9_-]+/ } do member do post :accept @@ -665,6 +665,7 @@ Rails.application.routes.draw do resources :snippets, constraints: { id: /\d+/ } do member do get 'raw' + post :toggle_award_emoji end end |