Open verlinden opened 12 years ago
Theoretically, it should be possible, since you can easily mount any Rack app in routes.rb
; however, I haven't tried this yet, and I'm 99% sure that the current version of Schnitzelpress will break horribly (even if just for the reason that it assumes running in the /
root of your domain.)
Being able to mount Schnitzelpress inside a Rails app is something I want to support officially, though, so I'm going to investigate what would need to be fixed and then, hopefully, fix it. :P
Thanks for your answer. This would be very useful ! Bonus if you succeed to share the Rails app layout with the schnitzelpress app.
That's very unlikely to work, but I'll see if I can find a nice workaround that's not too complex.
Yeah I know. Key feature would be to be able to mount a schnitzelpress app in a Rails one to an URL like "/blog". Then the layout could be a bit duplicate if we want the same in the two apps. The ability to easily redefine the schnitzelpress app layout (which is already possible) could be enough first ;-)
Keep up the good work !
Is it possible ? How can we do this ?