Open all editable files with `/edit` path

Grant Nestor 9 years ago
parent 35a9ff7932
commit 6a1f807b89

@ -737,6 +737,10 @@ define([
{
uri_prefix = 'view';
}
if (model.type === 'file' && this._is_editable(model))
{
uri_prefix = 'edit';
}
if (model.type === 'file' && this._is_notebook(model))
{
uri_prefix = 'notebooks';

Loading…
Cancel
Save