Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

pathToRoot should be dynamic rather than static config #613

Merged
merged 1 commit into from
Oct 11, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/app/addons/ac/url.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ YUI.add('mojito-url-addon', function(Y, NAME) {
function UrlAcAddon(command, adapter, ac) {
this.context = command.context;
this.rs = null;
this.pathToRoot = ac.staticAppConfig.pathToRoot;
this.pathToRoot = ac.config.getAppConfig().pathToRoot;
this.maker = null;
}

Expand Down Expand Up @@ -142,6 +142,7 @@ YUI.add('mojito-url-addon', function(Y, NAME) {

}, '0.1.0', {requires: [
'querystring',
'mojito-config-addon',
'mojito-route-maker',
'mojito-util'
]});