For some reason getting this error. Following a tutorial step by step.
Why would the added "class: “btn ect” be the problem?
compile error
/Users/bradwrage/webapps/treebook/app/views/statuses/index.html.erb:5:
syntax error, unexpected ‘:’
…atus", new_status_path, class: “btn btn-success” );@output_b…
^
/Users/bradwrage/webapps/treebook/app/views/statuses/index.html.erb:7:
syntax error, unexpected kDO_BLOCK, expecting kEND
'); @statuses.each do | status|
^
/Users/bradwrage/webapps/treebook/app/views/statuses/index.html.erb:21:
syntax error, unexpected kENSURE, expecting $end
All of the Statuses
3: 4: 5: <%= link_to "Post a New Status", new_status_path, class: "btn btn-success" %> 6: 7: <% @statuses.each do | status| %>8: