Merge remote-tracking branch 'glitchsoc/master' into gs-master

Conflicts:
 	db/schema.rb
This commit is contained in:
David Yip
2018-04-14 03:50:31 -05:00
30 changed files with 705 additions and 2 deletions

View File

@ -224,6 +224,9 @@ Rails.application.routes.draw do
resource :favourite, only: :create
post :unfavourite, to: 'favourites#destroy'
resource :bookmark, only: :create
post :unbookmark, to: 'bookmarks#destroy'
resource :mute, only: :create
post :unmute, to: 'mutes#destroy'
@ -259,6 +262,7 @@ Rails.application.routes.draw do
end
end
resources :favourites, only: [:index]
resources :bookmarks, only: [:index]
resources :reports, only: [:index, :create]
namespace :apps do