README.md in ember-cli-rails-0.2.3 vs README.md in ember-cli-rails-0.3.0
- old
+ new
@@ -49,14 +49,19 @@
- app - this represents the name of the EmberCLI application.
- path - the path, where your EmberCLI applications is located. The default
value is the name of your app in the Rails root.
+- enable - a lambda that accepts each requests' path. The default value is a
+ lambda that returns `true`.
+
```ruby
EmberCLI.configure do |c|
c.app :adminpanel # path is "<your-rails-root>/adminpanel"
- c.app :frontend, path: "/path/to/your/ember-cli-app/on/disk"
+ c.app :frontend,
+ path: "/path/to/your/ember-cli-app/on/disk",
+ enable: -> path { path.starts_with?("/app/") }
end
```
Once you've updated your initializer to taste, you need to install the
[ember-cli-rails-addon](https://github.com/rondale-sc/ember-cli-rails-addon).
@@ -238,10 +243,10 @@
}
```
ember-cli-rails adds your ember apps' build process to the rails asset compilation process.
-Now you should be ready to deploy.
+Now you should be ready to deploy.
## Additional Information
When running in the development environment, EmberCLI Rails runs `ember build`
with the `--output-path` and `--watch` flags on. The `--watch` flag tells