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

Update home_controller.rb #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
class HomeController < ApplicationController
PLACES = [
{
url: "https://images.unsplash.com/photo-1583551536322-76c0aa4ac335?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60",
name: "Cafeteria Del Perrito",
address: "perritos 33, Campestre, León",
tags: [
{
label: "Buen Café",
color: "success",
},
],
},
{
url: "https://images.unsplash.com/photo-1525610553991-2bede1a236e2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80",
name: "Cafe del Valle",
Expand Down