Skip to content
Snippets Groups Projects
Verified Commit c1518a32 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

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: default avatarRémy Coutable <remy@rymai.me>
parent df629173
No related branches found
No related tags found
No related merge requests found
require 'sidekiq/web'
require 'sidekiq/cron/web'
require 'api/api'
require 'constraints/group_url_constrainer'
 
Rails.application.routes.draw do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment