mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
upto 2.10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user