Skip to content

Instantly share code, notes, and snippets.

@hpjaj
Created November 14, 2018 17:58
Show Gist options
  • Select an option

  • Save hpjaj/dd48f2bb2935858bbe7d72fc8549efa6 to your computer and use it in GitHub Desktop.

Select an option

Save hpjaj/dd48f2bb2935858bbe7d72fc8549efa6 to your computer and use it in GitHub Desktop.

Revisions

  1. hpjaj created this gist Nov 14, 2018.
    4 changes: 4 additions & 0 deletions rails-with-react-new-post-4.jsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    // app/javascript/components/NewPost.js

    import axios from 'axios'
    ...