app/assets/javascripts/casino/application.js in casino-2.0.6 vs app/assets/javascripts/casino/application.js in casino-2.0.7

- old
+ new

@@ -1,9 +1,18 @@ // Place all the behaviors and hooks related to the matching controller here. +(function(win) { + if(!win.CASino) { + win.CASino = { baseUrl: '/' }; + } + + win.CASino.url = function(path) { + return win.CASino.baseUrl + path; + } +})(this);