From 90af781d20ea0e1a73ab4a0080e40cee8793cae4 Mon Sep 17 00:00:00 2001 From: Hadrien Froger Date: Tue, 19 Nov 2024 07:28:05 +0000 Subject: [PATCH] :pencil: (website) Fix typos --- lib/decidim/rest_full.rb | 2 +- spec/swagger_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decidim/rest_full.rb b/lib/decidim/rest_full.rb index e0d9f82..0f57c1b 100644 --- a/lib/decidim/rest_full.rb +++ b/lib/decidim/rest_full.rb @@ -23,7 +23,7 @@ def self.decidim_rest_full end def self.docs_url - ENV.fetch("DOCS_URL", "http://localhost:3232/decidim-rest-full") + ENV.fetch("DOCS_URL", "https://octree-gva.github.io/decidim-rest-full") end end end diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 64e44c8..fc236fb 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -29,7 +29,7 @@ A RestFull API for Decidim, to be able to CRUD resources from Decidim. ## Authentication - [Get a token](Decidim::RestFull.docs_url/category/authentication) from our `/oauth/token` routes,#{" "} + [Get a token](#{Decidim::RestFull.docs_url}/category/authentication) from our `/oauth/token` routes,#{" "} following OAuth specs on Credential Flows or Resource Owner Password Credentials Flow. ### Permissions