diff --git a/config/application.rb b/config/application.rb index 88c6a43df..ce764078a 100644 --- a/config/application.rb +++ b/config/application.rb @@ -18,7 +18,7 @@ module RedmineApp # -- all .rb files in that directory are automatically loaded. #verifier if email is real - + config.generators do |g| g.test_framework :rspec, @@ -80,7 +80,7 @@ module RedmineApp allow do origins '*' # location of your API - resource '/api/*', :headers => :any, :methods => [:get, :post, :options, :put] + resource '*', :headers => :any, :methods => [:get, :post, :options, :put] end end