mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-28 19:51:57 -04:00
Respond with data on gardens#edit, so non-html formats don't break specs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user