no encoding
This commit is contained in:
parent
25c8c3b5cb
commit
1a2cbff99e
|
@ -13,7 +13,7 @@ $(document).ready(function() {
|
|||
max_file_size : '10mb',
|
||||
multipart: true,
|
||||
multipart_params: {
|
||||
'<%= get_session_key %>' : encodeURIComponent('<%= u cookies[get_session_key] %>'),
|
||||
'<%= get_session_key %>' : encodeURIComponent('<%= cookies[get_session_key] %>'),
|
||||
'authenticity_token' : '<%= form_authenticity_token %>',
|
||||
'photo[album_id]' : "<%= @album.id %>"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue