Temporary rename Repp::API to Repp::Api (acronym issue)

This commit is contained in:
Karl Erik Õunapuu 2020-05-29 14:50:58 +03:00
parent e4f0a7e00a
commit 75fc8ba74f
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
module Repp module Repp
class API < Grape::API class Api < Grape::API
format :json format :json
prefix :repp prefix :repp

View file

@ -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