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

Fix a few places where autoloading would fail


- Fix naming of API::CommitStatuses
- Ensure we use require_dependency instead of require
- Ensure the namespace is right in lib/api/api.rb, otherwise, we
  might require Grape::API::Helpers which defines the `#params` method.
  This is to avoid requiring a file multiple times and getting an "Already
  initialized constant" error.

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 6da33885
No related branches found
No related tags found
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