Set the stage reading mode in LeftAndMain

This commit is contained in:
Daniel Hensby 2014-08-26 11:09:03 +01:00
parent eaf9d32bc7
commit 316d5ef967

View File

@ -446,7 +446,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
Config::inst()->update('SSViewer', 'theme_enabled', false);
//set the reading mode for the admin to stage
Versioned::set_reading_mode('Stage');
Versioned::reading_stage('Stage');
}
public function handleRequest(SS_HTTPRequest $request, DataModel $model = null) {