mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: Don't show Sign Up button in cases where users can't sign up
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
moduleFor("controller:header", "controller:header");
|
||||
moduleFor("controller:header", "controller:header", {
|
||||
needs: ['controller:application']
|
||||
});
|
||||
|
||||
test("showNotifications action", function() {
|
||||
var resolveRequestWith;
|
||||
|
@ -1,6 +1,6 @@
|
||||
moduleFor('controller:topic', 'controller:topic', {
|
||||
needs: ['controller:header', 'controller:modal', 'controller:composer', 'controller:quote-button',
|
||||
'controller:search', 'controller:topic-progress']
|
||||
'controller:search', 'controller:topic-progress', 'controller:application']
|
||||
});
|
||||
|
||||
var buildTopic = function() {
|
||||
|
Reference in New Issue
Block a user