add method for displaying flash errors on failed request
add method for displaying flash errors on failed request

siklodi-mariusz/react_rails_todo,siklodi-mariusz/react_rails_todo,siklodi-mariusz/react_rails_todo