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

testing single page application #187

Closed
gunesmes opened this issue Aug 7, 2014 · 4 comments
Closed

testing single page application #187

gunesmes opened this issue Aug 7, 2014 · 4 comments

Comments

@gunesmes
Copy link

gunesmes commented Aug 7, 2014

Hi,

when I want to send http request to single page application, the urls after hashtag (#) are ignored such as:
self.client.get("/#/books/story")

Is there a way to achieve this?

@Jahaja
Copy link
Member

Jahaja commented Aug 7, 2014

Would the consequence of this working mean that more resources would be loaded through ajax? If that's the case I would advise you to request the url to the ajax requested data.

@gunesmes
Copy link
Author

gunesmes commented Aug 7, 2014

Yes there is ajax request which request to api. I can get this url and send requests but I wonder how it could be working with hashtag.

@Jahaja
Copy link
Member

Jahaja commented Aug 7, 2014

You can't use hashtag so you have to request it for yourself. Furthermore, javascript is not evaluated, so it won't work.

@gunesmes
Copy link
Author

gunesmes commented Aug 7, 2014

thank you.

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