Respond with data on gardens#edit, so non-html formats don't break specs

This commit is contained in:
Brenda Wallace
2018-01-06 10:47:04 +13:00
parent a0fe19651e
commit fcbb57e659

View File

@@ -33,7 +33,9 @@ class GardensController < ApplicationController
end
# GET /gardens/1/edit
def edit; end
def edit
respond_with(@garden)
end
# POST /gardens
# POST /gardens.json