Files
growstuff/app/controllers/home_controller.rb
2013-03-31 21:00:57 +11:00

16 lines
317 B
Ruby

class HomeController < ApplicationController
skip_authorize_resource
def index
@member_count = Member.confirmed.count
@crop_count = Crop.count
@planting_count = Planting.count
@garden_count = Garden.count
respond_to do |format|
format.html # index.html.haml
end
end
end