-
Notifications
You must be signed in to change notification settings - Fork 0
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
#223 Gives venues readable slugs #318
Conversation
@@ -26,6 +26,7 @@ defmodule CsGuide.Resources.Venue do | |||
field(:lat, :float) | |||
field(:long, :float) | |||
field(:distance, :float, virtual: true) | |||
field(:slug, :string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth having a re-useable :slug
field dwyl/fields#31 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cleop work done for the client application looks good. 👍
Please consider doing the re-useable work up-front in dwyl/fields#31
such that the client application has fewer lines and is easier to maintain, and we get the benefit of reuse-ability for all future work. 💡
Thanks! ✨
#223 Gives venues readable slugs consisting of the venue name and postcode, removes special characters, replaces spaces with dashes
script
add_venue_slug.exs
will need running once deployed