I'm attempting to use Padrino's routing as a standalone addition to a basic Sinatra application.
http://www.padrinorb.com/guides/standalone-usage-in-sinatra
The main reason I need/want the additional Padrino functionality is the ability to separate my routes into multiple controller files.
Is this something I can do without using the whole Padrino package? If so, where do I place the separate controller files? I've tried /controllers/main.rb
and /app/controllers/main.rb
, where my core Sinatra app is at /app.rb
.