mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
add bootstrap, fix bike form
This commit is contained in:
@@ -17,7 +17,6 @@ class BikesController < ApplicationController
|
||||
|
||||
def create
|
||||
@bike = Bike.new(bike_params)
|
||||
|
||||
respond_to do |format|
|
||||
if @bike.save
|
||||
format.html { redirect_to @bike, notice: 'Bike was successfully created.' }
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
class StaticPagesController < ApplicationController
|
||||
def home; end
|
||||
end
|
||||
Reference in New Issue
Block a user