Skip to content

Commit

Permalink
Change ?version url parameter values so they are more explicit. OpenB…
Browse files Browse the repository at this point in the history
…ankProject#53 - tweaked GUI
  • Loading branch information
constantine2nd committed Jan 31, 2019
1 parent 8dd7dcd commit 4aa54ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/code/snippet/ApiExplorer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ WIP to add comments on resource docs. This code copied from Sofit.


// Create a list of (version, url) used to populate the versions whilst preserving the other parameters
val obpVersionUrls: List[(String, String)] = obpVersionsSupported.map(i => (i, s"${CurrentReq.value.uri}?version=${i}&list-all-banks=${listAllBanks}${catalogParams}"))
val obpVersionUrls: List[(String, String)] = obpVersionsSupported.map(i => (i.replace("OBPv", "v"), s"${CurrentReq.value.uri}?version=${i}&list-all-banks=${listAllBanks}${catalogParams}"))

// Create a list of (version, url) used to populate the versions whilst preserving the other parameters except catalog
// Includes hack for Berlin Group
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h3 name="catalog_description" class="info-box__about_selected">This version...<




OBP

<li name="obp_versions" class="versions breadcrumbs__list">
<a name="obp_version" class="version" href="./?version=1.2.1">version</a>
Expand Down

0 comments on commit 4aa54ac

Please sign in to comment.