Skip to content

Commit abd8901

Browse files
committed
Document custom controller assumptions
Closes [#320] and [#321]. [#320]: #320 [#321]: #321
1 parent 7badc25 commit abd8901

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,15 @@ class ApplicationController < ActionController::Base
178178
end
179179
```
180180

181+
**NOTE**
182+
183+
When specifying a controller of your own, make sure [the controller is a
184+
descendant of `ApplicationController`][#321], and [`ApplicationController` is a
185+
descendant of `ActionController::Base`][#320].
186+
187+
[#320]: https://github.com/thoughtbot/ember-cli-rails/issues/320
188+
[#321]: https://github.com/thoughtbot/ember-cli-rails/issues/321
189+
181190
### Rendering the EmberCLI generated JS and CSS
182191

183192
In addition to rendering the EmberCLI generated `index.html`, you can inject the

0 commit comments

Comments
 (0)