Removed set_garden

This commit is contained in:
Brenda Wallace
2019-12-26 11:00:21 +13:00
committed by GitHub
parent e84ab6d2a2
commit 2313812272

View File

@@ -49,9 +49,6 @@ class GardensController < DataController
private
def set_garden
@garden = Garden.find(params[:slug])
end
def garden_params
params.require(:garden).permit(:name, :slug, :description, :active,