Skip to content

Instantly share code, notes, and snippets.

@daichi1021
Created February 24, 2015 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daichi1021/88d142ec351973a611f2 to your computer and use it in GitHub Desktop.
Save daichi1021/88d142ec351973a611f2 to your computer and use it in GitHub Desktop.
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