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

refactor for projects-r*

parent 792e9ed7
...@@ -291,8 +291,9 @@ import Activities from './activities'; ...@@ -291,8 +291,9 @@ import Activities from './activities';
.catch(fail); .catch(fail);
break; break;
case 'projects:releases:edit': case 'projects:releases:edit':
new ZenMode(); import('./pages/projects/releases')
new GLForm($('.release-form'), true); .then(callDefault)
.catch(fail);
break; break;
case 'projects:merge_requests:show': case 'projects:merge_requests:show':
new Diff(); 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