lib/restfulx/rails/swf_helper.rb in dima-restfulx-1.2.1 vs lib/restfulx/rails/swf_helper.rb in dima-restfulx-1.2.2

- old
+ new

@@ -16,10 +16,10 @@ :create_div => false, :include_authenticity_token => true, :include_session_token => true }) arg_order = [:id, :width, :height, :version, :express_install_swf] - js_params = ["'#{swf_url}?#{rails_asset_id(swf_url)}'"] + js_params = ["'#{swf_url}'"] js_params += arg_order.collect {|arg| "'#{params[arg]}'" } # Add authenticity_token and the session key to flashVars. This will only work if flashVars is a Hash or nil # If it's a string representing the name of a Javascript variable, then you need to add them yourself # like this: