This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
mirror of
https://github.com/discourse/discourse.git
Watch
1
Star
0
Fork
You've already forked discourse
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
8232aba743
discourse
/
app
/
assets
/
javascripts
/
admin
/
routes
/
admin-user-tl3-requirements...
6 lines
99 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"" This reverts commit c21457d6a7a369fb52dfd3cd01b3882055c85d62.
2015-11-20 20:27:06 -05:00
export default Discourse.Route.extend({
FIX: Don't allow a user to become TL3 if they've ever been penalized Previously the code would only check if they were *currently* suspended or silenced.
2018-04-24 13:29:15 -04:00
model() {
Revert "Revert "REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS"" This reverts commit c21457d6a7a369fb52dfd3cd01b3882055c85d62.
2015-11-20 20:27:06 -05:00
return this.modelFor('adminUser');
}
});