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

List distance (in miles) along with store listing in SMS message and web #5

Closed
michellekoeth opened this issue Jan 27, 2012 · 2 comments

Comments

@michellekoeth
Copy link
Collaborator

No description provided.

@michellekoeth
Copy link
Collaborator Author

SMS text feed will list distance in miles if over 1 mile, and in feet if under 1 mile. The only thing left to do is implement this for the web view.

@michellekoeth
Copy link
Collaborator Author

Done. There is now an instance variable array in the nearaddy method of the retailers controller called @rt which can be used in any of the data feeds to output the distance and unit for each retailer listed. Currently the rt array is called by the HTML template and the text data feeds, but it can easily be implemented into the JSON and XML formats if desired.

jwieringa added a commit that referenced this issue Aug 1, 2015
fixes issue with tests failing due not knowing how to format text
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

No branches or pull requests

1 participant