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.
16 lines
330 B
16 lines
330 B
class FreecycleryController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def closed_applications
|
|
@closed_applications = Client.closed_applications
|
|
end
|
|
|
|
def available_bikes
|
|
@available_bikes = Bike.available_for_freecyclery
|
|
end
|
|
|
|
def receipt
|
|
@client = Client.find(params[:client_id])
|
|
end
|
|
|
|
end
|
|
|