mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
double slashes correction in open API event JSON
correction of the double slash as requested
This commit is contained in:
parent
22982a2356
commit
5fe1a53237
@ -4,9 +4,9 @@ json.events @events do |event|
|
||||
json.start_at event.availability.start_at
|
||||
json.end_at event.availability.end_at
|
||||
json.event_image do
|
||||
json.large_url root_url + event.event_image.attachment.large.url
|
||||
json.medium_url root_url + event.event_image.attachment.medium.url
|
||||
json.small_url root_url + event.event_image.attachment.small.url
|
||||
json.large_url root_url.chomp('/') + event.event_image.attachment.large.url
|
||||
json.medium_url root_url.chomp('/') + event.event_image.attachment.medium.url
|
||||
json.small_url root_url.chomp('/') + event.event_image.attachment.small.url
|
||||
end
|
||||
json.prices do
|
||||
json.normal do
|
||||
|
Loading…
Reference in New Issue
Block a user