diff --git a/README.md b/README.md index c86bbe4..bc7d8c2 100644 --- a/README.md +++ b/README.md @@ -132,17 +132,6 @@ GET /ui com.tuplejump.playYeoman.Yeoman.index -> /ui/ yeoman.Routes -``` - -If using, injected routes generator (0.8.1 onwards), - -``` - -GET /ui @com.tuplejump.playYeoman.Yeoman.index - --> /ui/ yeoman.Routes - - ``` Optionally, you can also redirect your root url, @@ -153,12 +142,8 @@ GET / com.tuplejump.playYeoman.Yeoman.redirectRoot(base="/ui/") ``` -If using, injected routes generator (0.8.1 onwards), -``` - -GET / @com.tuplejump.playYeoman.Yeoman.redirectRoot(base="/ui/") +If using, Play's injected routes generator, prefixing the route with `@` will work except for `yeoman.Routes`. It can be used as is. -``` 6) Start play/sbt in your project folder, @@ -288,7 +273,6 @@ For this purpose play-yeoman provides 2 settings that you can use in you play pr 2) yeoman.devDirs - This is a List of String that takes a list of locations where play-yeoman should look for files in development mode i.e. when run using sbt run. - Note: Starting from 0.7.1, it is possible to disable force option on execution of grunt tasks. This can be done by adding the following to the application build settings, ``` diff --git a/notes/0.8.1.markdown b/notes/0.8.1.markdown new file mode 100644 index 0000000..fc605f3 --- /dev/null +++ b/notes/0.8.1.markdown @@ -0,0 +1,4 @@ +New in this release + ++ Support for using Play's injected routes generator. ++ updated default value for devDirs to include 'ui'. (related to #78) diff --git a/yo-demo/conf/routes~ b/yo-demo/conf/routes~ deleted file mode 100644 index 20fd042..0000000 --- a/yo-demo/conf/routes~ +++ /dev/null @@ -1,9 +0,0 @@ -# Routes -# This file defines all application routes (Higher priority routes first) -# ~~~~ - -# Home page -GET / controllers.Application.index - -# Map static resources from the /public folder to the /assets URL path -GET /assets/*file controllers.Assets.at(path="/public", file) diff --git a/yo-demo/ui/app/index.html~ b/yo-demo/ui/app/index.html~ deleted file mode 100644 index 3f6fded..0000000 --- a/yo-demo/ui/app/index.html~ +++ /dev/null @@ -1,49 +0,0 @@ - - - - - -
- - -