diff --git a/config/application.rb b/config/application.rb index fece76eb..2768eca4 100644 --- a/config/application.rb +++ b/config/application.rb @@ -40,7 +40,7 @@ module Educoderplus allow do origins '*' # location of your api - resource '/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put] + resource '/*', :headers => :any, :methods => [:get, :post, :delete, :options, :put, :patch] end end end