Skip to content
Snippets Groups Projects
Unverified Commit c85de074 authored by Tom Robinson's avatar Tom Robinson
Browse files

Update backend URL formatting

parent 85daa223
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,6 @@ export const initializeQB = createThunkAction(INITIALIZE_QB, (location, params)
return { uiControls };
}
// load up or initialize the card we'll be working on
let options = {};
let serializedCard;
......
......@@ -20,14 +20,14 @@
(dashboard-url 10) -> \"http://localhost:3000/dash/10\""
[^Integer id]
(format "%s/dash/%d" (public-settings/site-url) id))
(format "%s/dashboard/%d" (public-settings/site-url) id))
(defn card-url
"Return an appropriate URL for a `Card` with ID.
(card-url 10) -> \"http://localhost:3000/card/10\""
[^Integer id]
(format "%s/card/%d" (public-settings/site-url) id))
(format "%s/question/%d" (public-settings/site-url) id))
(defn segment-url
"Return an appropriate URL for a `Segment` with ID.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment