mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
wait on allUsersAdmin subscription on post submit page
This commit is contained in:
parent
c3eaf39678
commit
644c519e9b
2 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
* Adding view counter (thanks @steffenstraetz! See [PR #489](https://github.com/TelescopeJS/Telescope/pull/489))
|
* Adding view counter (thanks @steffenstraetz! See [PR #489](https://github.com/TelescopeJS/Telescope/pull/489))
|
||||||
* Splitting out `router.js` in multiple files.
|
* Splitting out `router.js` in multiple files.
|
||||||
* URL can now be removed when editing a post (thanks @massimilianomarini! See [PR 484](https://github.com/TelescopeJS/Telescope/pull/484)).
|
* URL can now be removed when editing a post (thanks @massimilianomarini! See [PR 484](https://github.com/TelescopeJS/Telescope/pull/484)).
|
||||||
|
* Now waiting on `allUsersAdmin` subscription for post submit page (thanks @kai101! See [PR 508](https://github.com/TelescopeJS/Telescope/pull/508))
|
||||||
|
|
||||||
## v0.9.8
|
## v0.9.8
|
||||||
|
|
||||||
|
|
|
@ -241,6 +241,9 @@ Meteor.startup(function () {
|
||||||
Router.route('/submit', {
|
Router.route('/submit', {
|
||||||
name: 'post_submit',
|
name: 'post_submit',
|
||||||
template: getTemplate('post_submit'),
|
template: getTemplate('post_submit'),
|
||||||
|
waitOn: function () {
|
||||||
|
return coreSubscriptions.subscribe('allUsersAdmin');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
Loading…
Add table
Reference in a new issue