Skip to content

Commit

Permalink
Adding URI for controller now that it's the root.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwise committed Jul 12, 2015
1 parent d11ba29 commit 42ac383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/components/decoding_form.js.coffee
Expand Up @@ -14,7 +14,7 @@
e.preventDefault()
errorPane = $('div.alert')
errorPane.hide()
$.post( '', { decoding: @state }, (data) =>
$.post( '/decodings', { decoding: @state }, (data) =>
@props.handleNewDecoding data
@setState @getInitialState()
, 'JSON')
Expand Down

0 comments on commit 42ac383

Please sign in to comment.