Browse Source

Fix not_found API route

Andrew Swistak 6 years ago
parent
commit
784cfdf51e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/routes.rb

+ 1 - 1
config/routes.rb

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