FIX: site customization preview links when deployed in a subfolder
This commit is contained in:
@@ -10,6 +10,14 @@ import showModal from 'discourse/lib/show-modal';
|
||||
**/
|
||||
export default Ember.ArrayController.extend({
|
||||
|
||||
undoPreviewUrl: function() {
|
||||
return Discourse.getURL("/?preview-style=");
|
||||
}.property(),
|
||||
|
||||
defaultStyleUrl: function() {
|
||||
return Discourse.getURL("/?preview-style=default");
|
||||
}.property(),
|
||||
|
||||
actions: {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user