I would like to call a route that is mapped to a sub app within a given Padrino app. What is the best way to do this? For example, say I need to call /subapp/create
as part of running /mainapp/create
. I do not want to simply link to it, but actually call it and use the result. Thank you!
Asked
Active
Viewed 182 times
0

Jeff Erickson
- 3,783
- 8
- 36
- 43
1 Answers
0
You cant, as for rails render_controller is dead.
You can workaround with an "old" iframe.
You can call links from others app like:
MainApp.url :backend, :index

DAddYE
- 1,719
- 11
- 16