Commit 1931b7cd authored by Jacob Schatz's avatar Jacob Schatz

refactor for projects-r*

parent 792e9ed7
......@@ -291,8 +291,9 @@ import Activities from './activities';
.catch(fail);
break;
case 'projects:releases:edit':
new ZenMode();
new GLForm($('.release-form'), true);
import('./pages/projects/releases')
.then(callDefault)
.catch(fail);
break;
case 'projects:merge_requests:show':
new Diff();
......
import ZenMode from '~/zen_mode';
import GLForm from '~/gl_form';
export default function () {
new ZenMode(); // eslint-disable-line no-new
new GLForm($('.release-form'), true); // eslint-disable-line no-new
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment