Files
growstuff/app/controllers/home_controller.rb
2017-05-29 16:17:43 +12:00

12 lines
356 B
Ruby

class HomeController < ApplicationController
skip_authorize_resource
respond_to :html
def index
# we were previously generating a lot of instance variables like
# @members_count and @interesting_crops in here, but now we call
# the relevant class methods directly in the view, so that fragment
# caching will be effective.
end
end