Skip to content

Commit

Permalink
baseURL deprecated in favor of rootURL
Browse files Browse the repository at this point in the history
  • Loading branch information
JCBarry authored and seanpdoyle committed Oct 24, 2016
1 parent 9849f81 commit c956653
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ Rails.application.routes.draw do
end
```

Then set each Ember application's `baseURL` to the mount point:
Then set each Ember application's `rootURL` to the mount point:

```javascript
// frontend/config/environment.js
Expand All @@ -475,7 +475,7 @@ module.exports = function(environment) {
var ENV = {
modulePrefix: 'frontend',
environment: environment,
baseURL: '/',
rootURL: '/',
// ...
}
};
Expand All @@ -486,7 +486,7 @@ module.exports = function(environment) {
var ENV = {
modulePrefix: 'admin_panel',
environment: environment,
baseURL: '/admin_panel', // originally '/'
rootURL: '/admin_panel', // originally '/'
// ...
}
};
Expand Down

0 comments on commit c956653

Please sign in to comment.