Added RelatedContentsController

This commit is contained in:
María Checa
2017-12-14 14:17:58 +01:00
parent 586b1ae201
commit 5c7b5eed53
2 changed files with 45 additions and 0 deletions

View File

@@ -462,6 +462,8 @@ Rails.application.routes.draw do
root to: "dashboard#index"
end
resources :related_contents, only: [:create]
# GraphQL
get '/graphql', to: 'graphql#query'
post '/graphql', to: 'graphql#query'