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

Routing broken? #58

Open
stefandoorn opened this issue May 8, 2017 · 2 comments
Open

Routing broken? #58

stefandoorn opened this issue May 8, 2017 · 2 comments

Comments

@stefandoorn
Copy link
Contributor

It seems that in the current version (dev-master) adding routes doesn't function. The adding itself functions, but afterwards accessing a page does not work. It works if the static content has the same 'name', but I don't think that's how routes are meant :)

Reproduce:

  • Add static content with name 'test'
  • Add static content with name 'test123'
  • Add route with name 'test-test' and link with static content 'test'
  • Access /test-test - returns 404 (expected 200)
  • Access /test123 - returns 200 (expected 404)
  • Now rename static content 'test' to have name 'test-test'
  • Access /test-test - return 200

Or, am I using this feature totally wrong? If so, I have no clue what Routes is supposed to do then.

@michalmarcinkowski
Copy link
Member

The Route entity is not used on the frontend at all right now. The pages are resolved by internal name of static content mypage.com/internal-name-of-my-page.

@stefandoorn
Copy link
Contributor Author

Ah ok.. so basically for now the routing option is obsolete? It would be nice to have it :)

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