Removed set_garden

This commit is contained in:
Brenda Wallace authored and GitHub committed 2019-12-26 11:00:21 +13:00
1 parent e84ab6d2a2
commit 2313812272
1 file changed
-3
-3
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,