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

#223 Gives venues readable slugs #318

Merged
merged 7 commits into from
Jan 9, 2019
Merged

#223 Gives venues readable slugs #318

merged 7 commits into from
Jan 9, 2019

Conversation

Cleop
Copy link
Collaborator

@Cleop Cleop commented Jan 8, 2019

#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

@Cleop Cleop self-assigned this Jan 8, 2019
@Cleop Cleop assigned nelsonic and unassigned Cleop Jan 9, 2019
@Cleop Cleop requested a review from nelsonic January 9, 2019 10:00
@Cleop Cleop mentioned this pull request Jan 9, 2019
@@ -26,6 +26,7 @@ defmodule CsGuide.Resources.Venue do
field(:lat, :float)
field(:long, :float)
field(:distance, :float, virtual: true)
field(:slug, :string)
Copy link
Contributor

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 ?

Copy link
Contributor

@nelsonic nelsonic left a 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! ✨

@nelsonic nelsonic merged commit c2abe2f into master Jan 9, 2019
@nelsonic nelsonic deleted the slug-url-#223 branch January 9, 2019 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants