Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toString() method alias for url #272

Closed
buschtoens opened this issue Feb 7, 2020 · 0 comments · Fixed by #273
Closed

Add toString() method alias for url #272

buschtoens opened this issue Feb 7, 2020 · 0 comments · Fixed by #273

Comments

@buschtoens
Copy link
Owner

buschtoens commented Feb 7, 2020

The code shown in #271 would be nicer, if Link had a toString() method, that returns the url.

Then you could do:

<Ui::Button
-  @link={{link "signup" query=(hash callback=(get (link "checkout") "url"))}}
+  @link={{link "signup" query=(hash callback=(link "checkout"))}}
>
  Please sign up first to continue
</Ui::Button>
buschtoens added a commit that referenced this issue Feb 9, 2020
buschtoens added a commit that referenced this issue Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant