File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
- var Deferrals = require ( '../lib/deferrals' ) ;
2
1
var gx = require ( 'gx' ) ;
3
2
4
3
exports . initialize = function ( app ) {
@@ -94,11 +93,11 @@ exports.initialize = function(app) {
94
93
95
94
if ( ! errors ) {
96
95
yield workspace . save ( ) . complete ( gx . resume ) ;
97
- req . flash ( 'info' , 'Saved new workspace' ) ;
96
+ req . flash ( 'info' , 'Saved workspace' ) ;
98
97
res . redirect ( "/workspaces" ) ;
99
98
} else {
100
99
req . flash ( 'danger' , 'There was an error: ' + JSON . stringify ( errors ) ) ;
101
- res . redirect ( "/workspaces/new" ) ;
100
+ res . redirect ( "/workspaces/" + workspace . handle ) ;
102
101
}
103
102
104
103
} ) ;
Original file line number Diff line number Diff line change 1
1
{% extends 'layout.html' %}
2
2
3
- {% set title = 'Workspace ' %}
3
+ {% set title = 'Workspaces ' %}
4
4
5
5
{% block pagetitle %}
6
6
< div class ="pagetitle ">
You can’t perform that action at this time.
0 commit comments