mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Fix route syntax
This commit is contained in:
parent
90146aa630
commit
0e0d1374e8
@ -61,7 +61,7 @@ get '/latest' do
|
||||
jsonp quote.to_h
|
||||
end
|
||||
|
||||
get(/(?<date>\d{4}-\d{2}-\d{2})/) do
|
||||
get '/(?<date>\d{4}-\d{2}-\d{2})', mustermann_opts: { type: :regexp } do
|
||||
last_modified quote.date
|
||||
jsonp quote.to_h
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user