initial commit
This commit is contained in:
4
whatforlunch.com/app/views/recipes/index.json.jbuilder
Normal file
4
whatforlunch.com/app/views/recipes/index.json.jbuilder
Normal file
@@ -0,0 +1,4 @@
|
||||
json.array!(@recipes) do |recipe|
|
||||
json.extract! recipe, :id, :name, :duration, :ingredients, :process, :picture_url, :original_url
|
||||
json.url recipe_url(recipe, format: :json)
|
||||
end
|
||||
Reference in New Issue
Block a user