spec/dummy/tmp/cache/assets/CE3/150/sprockets%2F7d7a09e1df5c7510266a8d752683c4b3 in citygate-0.0.9 vs spec/dummy/tmp/cache/assets/CE3/150/sprockets%2F7d7a09e1df5c7510266a8d752683c4b3 in citygate-0.1.0

- old
+ new

@@ -1,26 +1,26 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1345768176.4082079 : @value"{I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1349909858.072901Ši: @value"({I" class:EFI"BundledAsset;FI"logical_path;FI"citygate/home.js;FI" pathname;FI"c/Users/luis/Code/Ruby/GroupBuddies/citygate/app/assets/javascripts/citygate/home.js.coffee.erb;FI"content_type;FI"application/javascript;FI" -mtime;FI"2012-08-21T15:36:25+01:00;FI" length;Fi,I" digest;F"%7954520fdf2bf339628fe9e062dc5e1bI" source;FI",(function() { +mtime;FI"2012-10-08T17:14:27+01:00;FI" length;FiDI" digest;F"%5a8a6f5eb36a72e15b9565cdbca4238fI" source;FI"D(function() { $(function() { var role_selector; role_selector = { - $el: $("#role_id"), select_new_role: function() { - return role_selector.$el.on("change", function(event) { - return $.post("home/role_change", { - data: role_selector.$el.val() + return $("#role_id").on("change", function(event) { + return $.post("/home/role_change", { + data: $("#role_id").val() }, function(data) { return window.location.href = data.redirect; }); }); }, init: function() { return role_selector.select_new_role(); } }; + $(window).bind('page:change', role_selector.init()); return role_selector.init(); }); }).call(this); -;FI"required_assets_digest;F"%592c527f1dc61202773ff4d1c843a4dfI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862 +;FI"required_assets_digest;F"%3f92925b28041609e2ce27f245161412I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862 \ No newline at end of file