upto 2.10

This commit is contained in:
Aaro Koivukangas
2023-08-08 10:16:59 +03:00
parent a099e05279
commit 852c9b35c3
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -14,10 +14,13 @@ class BeersController < ApplicationController
def new
@beer = Beer.new
@breweries = Brewery.all
@styles = ["Weizen", "Lager", "Pale ale", "IPA", "Porter", "Lowalcohol"]
end
# GET /beers/1/edit
def edit
@breweries = Brewery.all
@styles = ["Weizen", "Lager", "Pale ale", "IPA", "Porter", "Lowalcohol"]
end
# POST /beers or /beers.json