wealthsimple / sinatra-rake-routes

`rake routes` command for Sinatra applications
MIT License
5 stars 1 forks source link

Output is incorrect for hyphenated routes #1

Closed 6 closed 8 years ago

6 commented 8 years ago

Example:

get '/account-statements/:account_id' do |account_id|
end

results in the following output:

GET
A/account:account_idstatements/([^/?#]+)\

HEAD
A/account:account_idstatements/([^/?#]+)\