From 86030f24e95ef75859a4e89fc8da785ef14e1ff6 Mon Sep 17 00:00:00 2001 From: Claudi Martinez Date: Thu, 29 Oct 2015 08:56:50 +0100 Subject: Fixed typo --- guides/source/engines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/source/engines.md b/guides/source/engines.md index 7f6021a5eb..ccbda7c712 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -243,7 +243,7 @@ WARNING: Due to the way Rails autoloads controllers, it could happen that the ma application's `ApplicationController` were loaded before the engine's `ApplicationController`. In such case, the Ruby interpreter would not load the latter class and your engine's controllers would miss methods defined in it (because they would inherit from main -`ApplicationController`. For this reason the code in engine's controllers must explicitly +`ApplicationController`). For this reason the code in engine's controllers must explicitly tell Ruby they depend on the right application controller. This can be achieved with a single line at the top of the controllers files. For example: -- cgit v1.2.3