In that case I assume you had the brake line off so go through the bleeding procedure again. Set the rear parking brake and bleed the rear brake first then bleed the small piston on the front brake (if you are not sure which piston to bleed on the front follow the brake line up and do the one that has a line leading to the lead master cylinder). That should get you working again if you mounted the rear brake back correctly.
BTW, you will have to readjust the parking brake to get it to work right.