|
@@ -7,7 +7,7 @@ Rails.application.routes.draw do
|
|
|
|
|
|
|
|
namespace :api, defaults: {formats: :json} do
|
|
namespace :api, defaults: {formats: :json} do
|
|
|
post '/graphql', to: 'graphql#execute'
|
|
post '/graphql', to: 'graphql#execute'
|
|
|
- match '*path', to: 'v1/application#not_found', via: :all
|
|
|
|
|
|
|
+ match '*path', to: 'application#not_found', via: :all
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
get '*path', to: 'welcome#root'
|
|
get '*path', to: 'welcome#root'
|