app/assets/javascripts/casino/application.js in casino-3.0.1 vs app/assets/javascripts/casino/application.js in casino-3.0.2

- 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);