Skip to content

Commit

Permalink
save viewer history in session scratch path
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Jun 29, 2015
1 parent 1253377 commit a8dd58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/session/modules/viewer/SessionViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ SEXP rs_viewer(SEXP urlSEXP, SEXP heightSEXP)

FilePath historySerializationPath()
{
FilePath historyPath = module_context::scopedScratchPath()
FilePath historyPath = module_context::sessionScratchPath()
.childPath("viewer_history");
Error error = historyPath.ensureDirectory();
if (error)
Expand Down

0 comments on commit a8dd58d

Please sign in to comment.