Skip to content

Commit

Permalink
Merge pull request emberjs#148 from ahmacleod/readme-templates-root
Browse files Browse the repository at this point in the history
Amended README with note to clear local sprockets cache after modifying ...
  • Loading branch information
stefanpenner committed Mar 2, 2013
2 parents a748094 + b7bfd76 commit a90f367
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -74,6 +74,8 @@ By default, `templates_root` is `'templates'`.
If you store templates in a file like `app/assets/javascripts/ember_templates/admin_panel.handlebars` after setting the above config,
it will be made available to Ember as the `admin_panel` template.

_(Note: you must clear the local sprockets cache after modifying `templates_root`, stored by default in `tmp/cache/assets`)_

Default behavior for ember-rails is to precompile handlebars templates.
If you don't want this behavior you can turn it off in your application configuration (or per environment in: `config/environments/development.rb`) block:

Expand Down

0 comments on commit a90f367

Please sign in to comment.