mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-24 01:57:46 -05:00
16 lines
417 B
Ruby
16 lines
417 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|
|
|
|
def community_gardens; end
|
|
end
|