Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
My employee class
class EmployeesController < ApplicationController
def index
@employees=Employee.all()
end
def new
@admin=Admin.new
@employee=Employee.new()
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment