Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
public with sharing class AccountMobileExtension {
private final ApexPages.StandardController sCon;
public AccountMobileExtension(ApexPages.StandardController stdController) {
this.sCon = stdController;
}
public PageReference doSave() {
PageReference pr = this.sCon.save();
if (pr != null) {
pr = new PageReference('completed://');
}
return pr;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment