to_params to help with app routes

if we don’t want to use the slug, we can simply use the url method:
employee_path(@employee) vs @employee.url