Using Phlex in Sinatra with phlex-sinatra
Phlex already works with Sinatra (and everything else) but its normal usage leaves you without access to Sinatra’s standard helper methods. That’s why I created phlex-sinatra which lets you use Sinatra’s url()
helper method from within Phlex (along with the rest of the usual helper methods available in a Sinatra action) - Using Phlex in Sinatra with phlex-sinatra
Post a comment