Mount another application
suggest changemount runs another Rack application, including a Rails engine, inside the current app.
mount SomeRackApp, at: "some_route"
The helper names come from the class: some_rack_app_path and some_rack_app_url.
Rename them with as:
mount SomeRackApp, at: "some_route", as: :myapp
This will generate the myapp_path and myapp_url helpers which can be used to navigate to this mounted app.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents