Sha256: a5cd95d2fe100a18086ad3ccf0851963c84205e526926d370809f2d040326093
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
require_dependency 'pwb/application_controller' module Pwb class WelcomeController < ApplicationController def index @carousel_items = Content.where(tag: 'landing-carousel') @carousel_speed = 3000 # .includes(:content_photos, :translations) @content_area_cols = Content.where(tag: 'content-area-cols').order('sort_order') # @about_us = Content.find_by_key('aboutUs') @properties_for_sale = Prop.for_sale.visible.order('highlighted DESC').limit 9 @properties_for_rent = Prop.for_rent.visible.order('highlighted DESC').limit 9 return render "pwb/welcome/index" end end end
Version data entries
4 entries across 4 versions & 1 rubygems