Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dependency injection for routes engine
Allow a user to define which Rails engine to define routes on when using multiple engines within a Rails application. This will ensure that path helpers will correctly be available in the desired engine. This will default to the default main Rails application if another engine is not specified. Resolves issue [#138](#138)
- Loading branch information
Damian Galarza and Tute Costa
authored and
Damian Galarza
committed
Jun 12, 2014
1 parent
88906ee
commit 3f80403
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ module Configuration | |
:content_path, | ||
:home_page, | ||
:layout, | ||
:parent_engine, | ||
:route_drawer, | ||
:routes, | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters