Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Problem with version prefixes #39

Closed
drewmca opened this Issue Dec 12, 2012 · 1 comment

Comments

Projects
None yet
2 participants

drewmca commented Dec 12, 2012

Version prefixes work fine for routing, but they always cause an invalid version error, in every case, every time. It doesn't appear that there's anything that translates the prefixed version into an integer that can be handled at the controller level.

I've hacked together an override of the version method to strip the prefix, but this leads to prefixes in code and in the routing. There should be a way to configure a prefix at a higher level, and have that apply to both routing and the version method in the controller.

Open to suggestions so I can try it myself.

@Sutto Sutto closed this in d633eee Dec 17, 2012

Owner

Sutto commented Dec 17, 2012

@drewmca Can you test on master and see if that fixes the issue for you?

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