From 75fc8ba74f23d77712f6f938372cd1289f41278a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Erik=20=C3=95unapuu?= Date: Fri, 29 May 2020 14:50:58 +0300 Subject: [PATCH] Temporary rename Repp::API to Repp::Api (acronym issue) --- app/api/repp/api.rb | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/repp/api.rb b/app/api/repp/api.rb index af6864cfa..b1b3d6b2b 100644 --- a/app/api/repp/api.rb +++ b/app/api/repp/api.rb @@ -1,5 +1,5 @@ module Repp - class API < Grape::API + class Api < Grape::API format :json prefix :repp diff --git a/config/routes.rb b/config/routes.rb index 1c03129db..bfaaa7d88 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -37,7 +37,7 @@ Rails.application.routes.draw do get 'error/:command', to: 'errors#error' end - mount Repp::API => '/' + mount Repp::Api => '/' namespace :repp do namespace :v1 do