mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Rename Repp/Api back to it's original form
Because zeitwerk is disabled
This commit is contained in:
parent
77d0a2937f
commit
1575cf5ea1
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
module Repp
|
module Repp
|
||||||
class Api < Grape::API
|
class API < Grape::API
|
||||||
format :json
|
format :json
|
||||||
prefix :repp
|
prefix :repp
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ Rails.application.routes.draw do
|
||||||
get 'error/:command', to: 'errors#error'
|
get 'error/:command', to: 'errors#error'
|
||||||
end
|
end
|
||||||
|
|
||||||
mount Repp::Api => '/'
|
mount Repp::API => '/'
|
||||||
|
|
||||||
namespace :repp do
|
namespace :repp do
|
||||||
namespace :v1 do
|
namespace :v1 do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue