MCPcopy Create free account
hub / github.com/ShareDropio/sharedrop / redirect

Function redirect

app/controllers/application.js:28–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27 actions: {
28 redirect() {
29 const uuid = uuidv4();
30 const key = `show-instructions-for-room-${uuid}`;
31
32 sessionStorage.setItem(key, 'yup');
33 this.transitionToRoute('room', uuid);
34 },
35 },
36});

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected