Closed drogus closed 13 years ago
This commit is basically not very nice (ZOMG globals!), but currently there is no other nice way to pass stuff from env to views. It sets SC.urlPrefix in index.rhtml which can be used in javascript to attach proper prefix to url.
This commit is basically not very nice (ZOMG globals!), but currently there is no other nice way to pass stuff from env to views. It sets SC.urlPrefix in index.rhtml which can be used in javascript to attach proper prefix to url.