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

Make the save and sync ajax call relative #15

Closed
pagongski opened this issue Apr 28, 2017 · 3 comments
Closed

Make the save and sync ajax call relative #15

pagongski opened this issue Apr 28, 2017 · 3 comments

Comments

@pagongski
Copy link

My langman install wasnt saving the new keys and updates, but after some digging i found its because of the ajax call to "/langman/save". Since i dont run my project on the top level, this call fails. Editing it to "langman/save" solves the problem.

Would it be possible to fix it? Or is there a way that i can do it? :-)

Also, thank you for the great package. Helps me save some serious time with the translation woes.

@pagongski pagongski changed the title Make the save ajax call relative Make the save and sync ajax call relative Apr 28, 2017
@danijelk
Copy link
Contributor

I think it should either be changed to "save" or $request->path().'/save'

@pagongski
Copy link
Author

Maybe"langman" should stay on the path to distinguish it from some generic service/path/route.

@themsaid
Copy link
Owner

Feel free to open a PR :)

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

3 participants