mod/basic_formats/set/all/head.rb in card-1.95.1 vs mod/basic_formats/set/all/head.rb in card-1.95.2
- old
+ new
@@ -66,10 +66,10 @@
javascript_tag { string }
end
def decko_script_variables
{
- "window.decko": { rootPath: Card.config.relative_url_root },
+ "window.decko": { rootUrl: card_url("") },
"decko.doubleClick": Card.config.double_click,
"decko.cssPath": head_stylesheet_path,
"decko.currentUserId": (Auth.current_id if Auth.signed_in?)
}