Last active
February 11, 2017 22:02
-
-
Save carols10cents/784408ba44cf5c35ef87f5a4a0adc3ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modified: app/adapters/dependency.js | |
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── | |
@ dependency.js:11 @ export default ApplicationAdapter.extend({ | |
delete query.reverse; | |
var { crate } = query; | |
delete query.crate; | |
- return this.ajax(`${this.urlPrefix()}/crates/${crate.get('id')}/reverse_dependencies`, | |
+ return this.ajax(`/${this.urlPrefix()}/crates/${crate.get('id')}/reverse_dependencies`, | |
'GET', { data: query }); | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment