class HomeController < ApplicationController def index # @popular_arts = WeatherArt.includes(:image_attachment, city: :country).by_popularity(3) @latest_arts = WeatherArt.includes(:image_attachment, city: :country).latest(6) # @random_arts = WeatherArt.includes(:city, :image_attachment).random(3) # @featured_arts = WeatherArt.includes(:city, :image_attachment).order(created_at: :desc).limit(5) set_meta_tags( title: t("meta.home.index.title"), description: t("meta.home.index.description"), keywords: t("meta.home.index.keywords") ) end end