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

Use dynamic url for used/edit #3

Open
ahmadajmi opened this issue Sep 15, 2015 · 3 comments
Open

Use dynamic url for used/edit #3

ahmadajmi opened this issue Sep 15, 2015 · 3 comments

Comments

@ahmadajmi
Copy link
Member

as https://github.com/Health-Care/BloodDonation/blob/master/app/views/layouts/application.html.erb#L55

@ahmadajmi ahmadajmi changed the title Use dynamic link for used/edit Use dynamic url for used/edit Sep 15, 2015
@Health-Care
Copy link
Collaborator

@ahmadajmi No please keep it like what I did .. (انا قاصد انى اعملها كدا)
👍

@ahmadajmi ahmadajmi reopened this Oct 4, 2015
@ahmadajmi
Copy link
Member Author

I'm curious to know why!
Using a Rails helper like for ex: edit_user_path(current_user) should be used, hard codded URLS is not a good thing!

@ibrahimali123
Copy link
Contributor

because of using GOOGLE MAP API, this API need to redirect or refresh the page. not render it.
when I used this Rails helper it not working..
but don't worry we will replace this things when use MANAT2 API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants