Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit 30d1432

Browse files
authored
Merge pull request #9 from blackice88/patch-1
Update home_controller.rb
2 parents 8df7470 + 2d1b5c9 commit 30d1432

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

app/controllers/home_controller.rb

+4-28
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
class HomeController < ApplicationController
22
PLACES = [
33
{
4+
url: "https://cdn.foodandwineespanol.com/2019/05/cafe.jpg",
5+
name: "la Olla",
6+
address: "DIRECCION",
47
url: "https://images.unsplash.com/photo-1498804103079-a6351b050096?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1234&q=80",
58
name: "BROGA",
69
address: "Av. Panorama 604 A, Panorama, 37160 León, Gto.",
@@ -12,11 +15,7 @@ class HomeController < ApplicationController
1215
address: "Rafael Iriarte 519 Villa Insurgentes",
1316
tags: [
1417
{
15-
label: "barato",
16-
color: "success",
17-
},
18-
{
19-
label: "ambiente agradable",
18+
label: "wifi free",
2019
color: "success",
2120
},
2221
],
@@ -36,29 +35,6 @@ class HomeController < ApplicationController
3635
}
3736
],
3837
},
39-
{
40-
url: "https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcQR2D_5Yai0I6KmCo5vrOpSrU2_Wd1JOIgwczs50MozHTCLGOPk",
41-
name: "Cafe Draco",
42-
address: "Mirador de Leon, Gto",
43-
tags: [
44-
{
45-
label: "barato",
46-
color: "success",
47-
},
48-
{
49-
label: "vista hermosa",
50-
color: "success",
51-
}
52-
url: "https://images.unsplash.com/photo-1528447374240-3af10805243d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1868&q=80",
53-
name: "Cafetería Valcket",
54-
address: "Avenida de las Alamedas #1414",
55-
tags: [
56-
{
57-
label: "música agradable",
58-
color: "success",
59-
},
60-
],
61-
},
6238
{
6339
url: "https://images.unsplash.com/photo-1505275350441-83dcda8eeef5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1267&q=80",
6440
name: "Café 500 Noches",

0 commit comments

Comments
 (0)