Created
March 15, 2017 12:04
-
-
Save mazikwyry/bfa549686eb2a5e5340450f167fa1f1a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def add_todo(body) | |
$store.dispatch({ | |
type: :add_todo, | |
id: 1, | |
body: body | |
}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment