mirror of
https://github.com/gwenhael-le-moine/ledgerrb.git
synced 2025-01-13 08:01:20 +01:00
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…
Reference in a new issue