Add edit motorcycle

privilégier un before_action :get_motorcycle 

avec:

private

get_motorcycle
    @motorcycle = Motorcycle.find(params[:motorcycle_id])
  end