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

edit /user/sponsor #1068

Closed
IuliiSe opened this issue Dec 2, 2016 · 7 comments
Closed

edit /user/sponsor #1068

IuliiSe opened this issue Dec 2, 2016 · 7 comments

Comments

@IuliiSe
Copy link

IuliiSe commented Dec 2, 2016

I am trying to edit the list of states on the page /user/sponsor which ask the sponsor to select a state.

I've made changes in js/constants.js and in js/controllers/userSponsorPageController.js.

@sethetter What is the best way to proceed?

php artisan view:clear and php artisan route:cache do not update the page.

@sethetter
Copy link
Collaborator

@IuliiSe what changes did you make to those files? Those all live in the client folder, so any php or artisan command won't affect them.

Let me know what changes you made and what you're expecting to see.

@IuliiSe
Copy link
Author

IuliiSe commented Dec 2, 2016

@sethetter I've followed the advice on #973
So, I changed the provinces like that and expect it to look like that

screen shot 2016-12-02 at 17 16 04

screen shot 2016-12-02 at 17 18 39

To end up with this:
screen shot 2016-12-02 at 17 14 46

@sethetter
Copy link
Collaborator

@IuliiSe are you injecting the PROVINCES constant in a a dependency to the UserSponsorPageController?

@IuliiSe
Copy link
Author

IuliiSe commented Dec 2, 2016

@sethetter I did not change anything else:

screen shot 2016-12-02 at 17 35 55

@sethetter
Copy link
Collaborator

I just tried it locally and it worked fine.

I think this is a cache issue.

@IuliiSe
Copy link
Author

IuliiSe commented Dec 2, 2016

Oh. Great that it worked.
I can't find a way to gracefully clean .sass-cache. What could it be except manually deleting the directory?

@sethetter
Copy link
Collaborator

sethetter commented Dec 2, 2016 via email

@IuliiSe IuliiSe closed this as completed Dec 7, 2016
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

2 participants