Page MenuHomeGRNET

clients_controller.rb
No OneTemporary

File Metadata

Created
Fri, Aug 29, 9:17 PM

clients_controller.rb

class ClientsController < ApplicationController
before_action :set_client, only: :show
# GET /clients
def index
@clients = Client.all
end
# GET /clients/1
def show; end
private
def set_client
@client = Client.find(params[:id])
end
end

Event Timeline