Sugar.Templates.render/2
to check whether or not it received an error instead of a template key (and, if so, to fail early so that users aren’t totally baffled like I was about stupid things like “oh darn, I put my views in the wrong folder”). @slogsdon, any other considerations before we merge this in?
http -j POST "http://localhost:4000/shorten/json" url='http://github.com'
, I see that there is a params: %{"url" => "http://github.com"}
but nothing in the arguments