diff options
author | Rémy Coutable <remy@rymai.me> | 2016-12-12 20:17:21 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-12-12 20:17:21 +0300 |
commit | c1518a3230fb3f59111325c34fa5b13fa53e4767 (patch) | |
tree | be27f700c978a9af2399dfce8e3ba688d83ce1ee /config | |
parent | df629173d97ffcb7ecda306e83024abc7abae3f7 (diff) |
Don't require `API::API` in routes
`API::API` is autoloaded and shouldn't be required in non-autoloaded
code. Otherwise, we get the following dreaded error:
A copy of API::Helpers has been removed from the module tree but is
still active!
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb index 03b47261e7e..06d565df469 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,5 @@ require 'sidekiq/web' require 'sidekiq/cron/web' -require 'api/api' require 'constraints/group_url_constrainer' Rails.application.routes.draw do |