Redirect to Record Detail Page From Visualforce Page in Salesforce Console

public PageReference redirect() { 
    String id = ApexPages.currentPage().getParameters().get('id');
    PageReference pgRef = new PageReference('salesforce_url/console#%2F' + id);
    return pgRef; 
}