Sha256: fa9820617176e9e4cc4cefbd7a12fbb4831023da84887109670c9a1175144e64
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pwb-0.0.1 | app/controllers/pwb/welcome_controller.rb |