tuplejump / play-yeoman

Play + Yeoman integration sbt and play plugins
Apache License 2.0
237 stars 58 forks source link

/ui/ not redirecting to /ui/app. thinks is /ui/scripts when should be /ui/app/scripts #8

Closed emaxerrno closed 11 years ago

emaxerrno commented 11 years ago

Config File:

https://gist.github.com/5789063

Simple Controller

https://gist.github.com/5789075

When loading Yeoman.index it tries to load /ui/scripts/.... instead of /ui/app/scripts.

It has to be /ui/ and adding /app would be wrong since during production it has to dynamically change to /ui/dist instead of /ui/app

Thanks

Here is also a copy paste of the config for your convenience

Routes

This file defines all application routes (Higher priority routes first)

~~~~

GET / com.tuplejump.playYeoman.Yeoman.redirectRoot(base="/ui/") GET /ui/ com.tuplejump.playYeoman.Yeoman.index -> /ui yeoman.Routes

controllers

GET /foo controllers.Application.index

milliondreams commented 11 years ago

Apologies for the very delayed response, somehow github was filtering out the issue, and I didn't see it at all.

Were you able to get it working? Can you try with the latest build. Many people are using this and seems to work fine for them... In case it is still not working for you, can you create a project and upload to github so we can debug the issue?

milliondreams commented 11 years ago

Any updates? Closing this as it is working for us... Please reopen if you have still have problem.