optional trailing /
This commit is contained in:
parent
ac19c13d8f
commit
90d343636e
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -20,7 +20,7 @@ class LedgerRbApp < Sinatra::Base
|
|||
Ledger.accounts.to_json
|
||||
end
|
||||
|
||||
get '/api/ledger/accounts/depth/:depth' do
|
||||
get '/api/ledger/accounts/depth/:depth/?' do
|
||||
content_type :json
|
||||
param :depth, Integer, required: true
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue