Sha256: 7e4e96c873a0f3473bb43ef79139fdde8ec8ac8154eaebaa12ed55c95012625a

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

class PropertiesController < ApplicationController
  def index
    @properties = Property.order('created_at desc').all
  end
  
  def show
    @property = Property.find(params[:id])
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
nubis_rails_boilerplate-0.0.11 skeletons/real_estate_app/app/controllers/properties_controller.rb
nubis_rails_boilerplate-0.0.10 skeletons/real_estate_app/app/controllers/properties_controller.rb
nubis_rails_boilerplate-0.0.9 skeletons/real_estate_app/app/controllers/properties_controller.rb
nubis_rails_boilerplate-0.0.8 skeletons/real_estate_app/app/controllers/properties_controller.rb
nubis_rails_boilerplate-0.0.7 skeletons/real_estate_app/app/controllers/properties_controller.rb