Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
412 B

class FreecycleryController < ApplicationController
before_action :authenticate_user!
def closed_applications
@closed_applications = Client.closed_applications
end
def ready_for_pickup
@bikes_for_pickup = Bike.bikes_ready_for_pickup
end
def available_bikes
@available_bikes = Bike.available_for_freecyclery
end
def receipt
@client = Client.find(params[:client_id])
end
end