Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
L33tH4x0r committed Feb 20, 2020
1 parent 43a3273 commit ccb9cdc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ class HolidaysController < ApplicationController
def zip
send_zip {
'Holidays in Lyon <3' => Holidays.where(place: 'lyon').first.pictures,
'Holidays in Paris' => Holidays.where(place: 'paris').first.pictures,
'Holidays in Paris' => [
Holidays.where(place: 'paris').first.pictures,
'Eiffle Tower' => Holidays.where(place: 'eiffle_tower').first.pictures
]
}
end
end
Expand All @@ -75,6 +78,10 @@ Will produce a `.zip` archive like this:
│   ├── b.png
│   └── c.gif
└── Holidays in Paris
├── Eiffle Tower
├── d.jpg
├── e.jpg
├── f.jpg
├── a.jpg
├── b.png
└── c.gif
Expand Down

0 comments on commit ccb9cdc

Please sign in to comment.